Bug 19469: (follow-up) Use patron-title.inc as proposed by bug 18403
authorTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 5 Mar 2018 19:10:25 +0000 (16:10 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 14 Sep 2018 17:50:12 +0000 (17:50 +0000)
This patch makes the new template include file use the patron-title.inc
include to render the patron name.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc

index 38e14e4..4c31ed1 100644 (file)
             [% END %]
 
             <td>
-                <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% hold.borrowernumber %]" >
-                    [% IF ( hold.hidename ) %]
-                        [% hold.cardnumber (hold.borrowernumber) %]
-                    [% ELSE %]
-                        [% hold.firstname %] [% hold.surname %]
-                    [% END %]
-                </a>
+                [% INCLUDE 'patron-title.inc' patron=hold.patron hide_patron_infos_if_needed=1 %]
             </td>
 
             <td>[% hold.notes %]</td>