Bug 22203: Holds modal does not link to patorn account
authorNick Clemens <nick@bywatersolutions.com>
Thu, 24 Jan 2019 14:57:46 +0000 (14:57 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 28 Jan 2019 11:15:42 +0000 (11:15 +0000)
To test:
1 - Place a hold for a patron
2 - Check the item in at the pickup location
3 - Note the holds modal does not link to patron
4 - Apply patch
5 - Check in item again
6 - Patron name in modal is a link

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

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

koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt

index 91b27a7..b797d01 100644 (file)
         <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber | uri %]">[% title | html %]</a></caption>
         <tr>
             <th>Hold for:</th>
-            <td>[% INCLUDE 'patron-title.inc' patron=patron %]</td>
+            <td>[% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 link_to="circulation_reserves" %]</td>
         </tr>
         </table>
         <form method="post" action="returns.pl"><input type="submit" value="OK" />
                     [% END %]
                     <h5>Hold for:</h5>
                         <li>
-                            [% INCLUDE 'patron-title.inc' patron=patron %]
+                            <td>[% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 link_to="circulation_reserves" %]</td>
                             <span class="patron-category"> - [% patron.category.description | html %]</span>
                         </li>