Bug 26125: (bug 23697 follow-up) open patron's details in autocompletion search
Test plan: 1 - Enable PatronAutoComplete syspref 2 - Go to "Patrons" (members/members-home.pl) 3 - Enter a patron first letters in "Search Patron" tab 4 - Select a patron 5 - You're wrongly redirected in koha/circ/circulation.pl 6 - Apply patch 7 - Repeat 3, 4 8 - You're correctly redirected in koha/members/moremember.pl 9 - double check "Check out" redirect hasn't changed Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
b6cb3c2ba5
commit
8855908fdf
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@
|
|||
}).data( "ui-autocomplete" );
|
||||
if( obj ) {
|
||||
obj._renderItem = function( ul, item ) {
|
||||
item.link = "/cgi-bin/koha/circ/circulation.pl?borrowernumber=" + item.borrowernumber;
|
||||
item.link = "/cgi-bin/koha/members/moremember.pl?borrowernumber=" + item.borrowernumber;
|
||||
var cardnumber = "";
|
||||
if( item.cardnumber != "" ){
|
||||
// Display card number in parentheses if it exists
|
||||
|
|
Loading…
Reference in a new issue