diff options
author | Marcel Klehr <mklehr@gmx.net> | 2021-04-28 19:07:15 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2022-05-17 21:05:09 +0200 |
commit | f755ee08689a9400e1e9b2bc15ae116ae7483d5c (patch) | |
tree | a311f6f207c311620bc9f9656817453e7f2a19cb /tests | |
parent | 4f55ba2a8895995649306911e3efa92904906836 (diff) | |
download | nextcloud-server-f755ee08689a9400e1e9b2bc15ae116ae7483d5c.tar.gz nextcloud-server-f755ee08689a9400e1e9b2bc15ae116ae7483d5c.zip |
Files: Extend search to also cover tags
fixes #326
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Files/Cache/SearchBuilderTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/Cache/SearchBuilderTest.php b/tests/lib/Files/Cache/SearchBuilderTest.php index 82c4dbaa27f..5eb1a0252f0 100644 --- a/tests/lib/Files/Cache/SearchBuilderTest.php +++ b/tests/lib/Files/Cache/SearchBuilderTest.php @@ -79,7 +79,7 @@ class SearchBuilderTest extends TestCase { $this->numericStorageId = 10000; $this->builder->select(['fileid']) - ->from('filecache') + ->from('filecache', 'file') // alias needed for QuerySearchHelper#getOperatorFieldAndValue ->where($this->builder->expr()->eq('storage', new Literal($this->numericStorageId))); } |