Bug 19582: (follow-up) get params in correct order

We were ordering the values out of sync with the order of the mathclist
param and so causing 'entire record' and 'all headings' to be reversed

Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr>
Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Nick Clemens 2018-03-12 15:56:45 +00:00 committed by Jonathan Druart
parent 675daf17cd
commit de3f658e9b
1 changed files with 1 additions and 1 deletions

View File

@ -64,8 +64,8 @@ if ( $op eq "do_search" ) {
my @value = (
$query->param('value_mainstr') || undef,
$query->param('value_main') || undef,
$query->param('value_match') || undef,
$query->param('value_any') || undef,
$query->param('value_match') || undef
);
my $orderby = $query->param('orderby') || '';
my $startfrom = $query->param('startfrom') || 0;