fixes #2025 add author field in search by words filter

This commit is contained in:
plegall
2023-10-18 18:19:30 +02:00
parent 188be4849c
commit c904d536a5
5 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -732,7 +732,7 @@ function ws_images_filteredSearch_create($params, $service)
}
$search['fields']['allwords']['mode'] = $params['allwords_mode'];
$allwords_fields_available = array('name', 'comment', 'file', 'tags', 'cat-title', 'cat-desc');
$allwords_fields_available = array('name', 'comment', 'file', 'author', 'tags', 'cat-title', 'cat-desc');
if (!isset($params['allwords_fields']))
{
$params['allwords_fields'] = $allwords_fields_available;