From cd18b2e6fcc1b10bbb521ce1699ca9caeae8fdd8 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 25 Jan 2024 11:55:42 +0000 Subject: [PATCH] Bug 33457: (follow-up) Simplify even further Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt index 9705f8dc2d..be1672a4d5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt @@ -559,11 +559,8 @@ function select_user(borrowernumber, borrower) { ownerRemove(); - var borrowername = $patron_to_html( borrower, { display_cardnumber: false, url: false } ); if (borrowernumber) { - var ownerlink = '' - + borrowername + ''; + var ownerlink = $patron_to_html( borrower, { display_cardnumber: false, url: true } ); $('#budget_owner_name').html(ownerlink); $('#budget_owner_id').val(borrowernumber); } -- 2.39.5