mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +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:
@@ -1004,6 +1004,11 @@ function ws_images_filteredSearch_create($params, $service)
|
||||
$search['fields']['ratios'] = $params['ratios'];
|
||||
}
|
||||
|
||||
if (isset($params['expert']))
|
||||
{
|
||||
$search['fields']['expert'] = array('string' => $params['expert']);
|
||||
}
|
||||
|
||||
if ($conf['rate'] and isset($params['ratings']))
|
||||
{
|
||||
$search['fields']['ratings'] = $params['ratings'];
|
||||
|
||||
Reference in New Issue
Block a user