Bug 21323: Handle multi params in redirect after login
Multi params are not handle correctly after login Test plan: [0] Use staff interface [1] Use advance search and tick itemtype more than one checkbox [2] Copy result url [3] Logout [4] Paste url in browser [5] Type username and password [6] In search result page, results limit description under breadcrumbs will show all limits Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
fb5b377ffd
commit
c6a26d2c9e
|
|
@ -1229,8 +1229,8 @@ sub checkauth {
|
|||
my @inputs = ();
|
||||
foreach my $name ( param $query) {
|
||||
(next) if ( $name eq 'userid' || $name eq 'password' || $name eq 'ticket' );
|
||||
my $value = $query->param($name);
|
||||
push @inputs, { name => $name, value => $value };
|
||||
my @value = $query->multi_param($name);
|
||||
push @inputs, { name => $name, value => $_ } for @value;
|
||||
}
|
||||
|
||||
my $patron = Koha::Patrons->find({ userid => $q_userid }); # Not necessary logged in!
|
||||
|
|
|
|||
Loading…
Reference in New Issue