Bug 37018: Use validation in search_rs helper
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: wainuiwitikapark <wainuiwitikapark@catalyst.net.nz>
This commit is contained in:
parent
907510b076
commit
e75c94184f
|
|
@ -295,6 +295,8 @@ controller, and thus shouldn't be called twice in it.
|
|||
$c->stash('koha.pagination.base_total' => $result_set->count);
|
||||
$c->stash('koha.pagination.query_params' => $args);
|
||||
|
||||
$c->dbic_validate_operators( { filtered_params => $filtered_params } );
|
||||
|
||||
# Generate the resultset
|
||||
my $objects_rs = $result_set->search( $filtered_params, $attributes );
|
||||
# Stash the page total if requires, total otherwise
|
||||
|
|
|
|||
Loading…
Reference in New Issue