mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 08:43:31 +02:00
related to #1703 added params in ws.php and pagination works but filters don't
This commit is contained in:
@@ -1296,7 +1296,43 @@ enabled_high, registration_date, registration_date_string, registration_date_sin
|
||||
$service->addMethod(
|
||||
'pwg.history.search',
|
||||
'ws_history_search',
|
||||
null,
|
||||
array(
|
||||
'start' => array(
|
||||
'default' => null
|
||||
),
|
||||
'end' => array(
|
||||
'default' => null
|
||||
),
|
||||
'types' => array(
|
||||
'flags'=>WS_PARAM_FORCE_ARRAY,
|
||||
'default' => array(
|
||||
'none',
|
||||
'picture',
|
||||
'high',
|
||||
'other',
|
||||
)
|
||||
),
|
||||
'user' => array(
|
||||
'default' => -1,
|
||||
),
|
||||
'image_id' => array(
|
||||
'default' => null,
|
||||
'type' => WS_TYPE_ID,
|
||||
),
|
||||
'filename' => array(
|
||||
'default' => null
|
||||
),
|
||||
'ip' => array(
|
||||
'default' => null
|
||||
),
|
||||
'display_thumbnail' => array(
|
||||
'default' => 'display_thumbnail_classic'
|
||||
),
|
||||
'pageNumber' => array(
|
||||
'default' => null,
|
||||
'type' => WS_TYPE_INT|WS_TYPE_POSITIVE,
|
||||
),
|
||||
),
|
||||
'Gives an history of who has visited the galery and the actions done in it. Receives parameter.',
|
||||
$ws_functions_root . 'pwg.php'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user