@@ -, +, @@ --- Koha/REST/V1/Cities.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/Koha/REST/V1/Cities.pm +++ a/Koha/REST/V1/Cities.pm @@ -30,8 +30,9 @@ sub list { my $cities; my $filter; + $args //= {}; - for my $filter_param ( keys $args ) { + for my $filter_param ( keys %$args ) { $filter->{$filter_param} = { LIKE => $args->{$filter_param} . "%" }; } --