mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 01:32:59 +02:00
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:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user