fixes #1929 add parameter search on pwg.categories.getList (and use it)

This commit is contained in:
plegall
2023-06-27 14:41:28 +02:00
parent d50d7ba620
commit fdabd4a988
3 changed files with 13 additions and 2 deletions

1
ws.php
View File

@@ -157,6 +157,7 @@ function ws_addDefaultMethods( $arr )
'default' => IMG_THUMB,
'info' => implode(',', array_keys(ImageStdParams::get_defined_type_map()))
),
'search' => array('default' => null),
),
'Returns a list of categories.',
$ws_functions_root . 'pwg.categories.php'