From 6e13b70cb9c9837be9be620193483de2d88b0c94 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 --- 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 f56faebea8..1acf1834c3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc @@ -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 -- 2.11.0