mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
fixes #2007 no longer possible to update a filteredSearch
* Piwigo will create a new search for any modification in the filters * we keep the "origin" of the new search with piwigo_search.forked_from field
This commit is contained in:
@@ -1369,10 +1369,13 @@ enabled_high, registration_date, registration_date_string, registration_date_sin
|
||||
);
|
||||
|
||||
$service->addMethod(
|
||||
'pwg.images.filteredSearch.update',
|
||||
'ws_images_filteredSearch_update',
|
||||
'pwg.images.filteredSearch.create',
|
||||
'ws_images_filteredSearch_create',
|
||||
array(
|
||||
'search_id' => array(),
|
||||
'search_id' => array(
|
||||
'flags' => WS_PARAM_OPTIONAL,
|
||||
'info' => 'prior search_id (or search_key), if any',
|
||||
),
|
||||
'allwords' => array(
|
||||
'flags' => WS_PARAM_OPTIONAL,
|
||||
'info' => 'query to search by words',
|
||||
|
||||
Reference in New Issue
Block a user