mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-03 16:32:22 +02:00
fixes #2096 keep list of search filters in memory
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user