From 3a04c61c3c091981b58c1de91887d55c1a32480f Mon Sep 17 00:00:00 2001 From: Didier Gautheron Date: Mon, 3 Aug 2020 08:40:06 +0200 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit 8855908fdf8839878a233012f4d63b33949554c0) Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc index 7e7604b71c..dd51430815 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc @@ -129,7 +129,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 -- 2.39.5