issue #1946 implement backend for search by date_posted

This commit is contained in:
plegall
2023-07-24 16:49:53 +02:00
parent 6907bf26f5
commit 87c4fad23e
3 changed files with 25 additions and 0 deletions
+4
View File
@@ -1413,6 +1413,10 @@ enabled_high, registration_date, registration_date_string, registration_date_sin
'filetypes' => array(
'flags' => WS_PARAM_OPTIONAL|WS_PARAM_FORCE_ARRAY,
),
'date_posted' => array(
'flags' => WS_PARAM_OPTIONAL,
'info' => 'files posted within 7 days (7d) or 30 days (30d) or 6 months (6m) or 1 year (1y). Value among 7d|30d|6m|1y',
),
),
'',
$ws_functions_root . 'pwg.images.php'