summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-12-05 11:04:33 +0100
committerGitHub <noreply@github.com>2019-12-05 11:04:33 +0100
commit63cb31542d9db663f627a17278030b18ed61bc6a (patch)
tree624c5fce9492da4b4f6836a4a1415ba979055af0 /lib/public
parent90401e573e44a4a44d4ce1dc47b534cfb4a9ff1f (diff)
parentbf50342c10dd3093417329865008e7be605135c5 (diff)
downloadnextcloud-server-63cb31542d9db663f627a17278030b18ed61bc6a.tar.gz
nextcloud-server-63cb31542d9db663f627a17278030b18ed61bc6a.zip
Merge pull request #17941 from nextcloud/search-by-owner
Allow filtering the search results to the users home storage
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Files/Search/ISearchQuery.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/Files/Search/ISearchQuery.php b/lib/public/Files/Search/ISearchQuery.php
index 0929a190489..35093e340a2 100644
--- a/lib/public/Files/Search/ISearchQuery.php
+++ b/lib/public/Files/Search/ISearchQuery.php
@@ -66,4 +66,12 @@ interface ISearchQuery {
* @since 12.0.0
*/
public function getUser();
+
+ /**
+ * Whether or not the search should be limited to the users home storage
+ *
+ * @return bool
+ * @since 18.0.0
+ */
+ public function limitToHome(): bool;
}