diff --git a/filemanager/src/Sharing/AnonymousList.php b/filemanager/src/Sharing/AnonymousList.php index 5b659f3222..49045ae121 100644 --- a/filemanager/src/Sharing/AnonymousList.php +++ b/filemanager/src/Sharing/AnonymousList.php @@ -145,6 +145,9 @@ class AnonymousList extends filemanager_ui */ function get_rows(&$query, &$rows) { + // We turned off filter but still need to use the value + $query['filter'] = ''; + // Check for navigating outside share, redirect back to share if (!empty($query['path']) && (!Vfs::stat($query['path'], false) || !Vfs::is_dir($query['path']) || !Vfs::check_access($query['path'], Vfs::READABLE))) {