fixes #2096 keep list of search filters in memory

This commit is contained in:
plegall
2024-01-24 17:26:51 +01:00
parent 411ae43c19
commit e59b5282d5
2 changed files with 64 additions and 26 deletions
+5
View File
@@ -1767,6 +1767,11 @@ function save_search($rules, $forked_from=null)
)
);
if (!is_a_guest() and !is_generic())
{
userprefs_update_param('gallery_search_filters', array_keys($rules['fields'] ?? array()));
}
$url = make_index_url(
array(
'section' => 'search',