javascript redirect when selecting a patron on circulation.pl Patron Selection Screen
[koha.git] / circ / circulation.pl
index 9aa6e57..f165eae 100755 (executable)
@@ -523,6 +523,7 @@ if ($borrowerslist) {
         -id       => 'borrowernumber',
         -values   => \@values,
         -labels   => \%labels,
+       -onclick  => "window.location = '/cgi-bin/koha/circ/circulation.pl?borrowernumber=' + this.value;",
         -size     => 7,
         -tabindex => '',
         -multiple => 0