issue #2409 add search engine filter : expert mode

* new access system not implemented yet
* dark mode handled but needs review
This commit is contained in:
plegall
2025-09-15 15:10:17 +02:00
parent 77c1fdd138
commit b167a327e3
10 changed files with 227 additions and 1 deletions
+10
View File
@@ -143,6 +143,16 @@ function get_regular_search_results($search, $images_where='')
}
}
//
// expert
//
if (isset($search['fields']['expert']) and !empty($search['fields']['expert']['string']))
{
$has_filters_filled = true;
$image_ids_for_filter['expert'] = get_quick_search_results($search['fields']['expert']['string'], array())['items'];
}
//
// allwords
//