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: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Martin Renvoize 2024-06-05 14:20:22 +01:00 committed by Lucas Gass
parent fea6c06878
commit d5f76c58e7
1 changed files with 2 additions and 0 deletions

View File

@ -295,6 +295,8 @@ controller, and thus shouldn't be called twice in it.
}
);
$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