Bug 27794: Add link to biblio in lateorders page
authorOwen Leonard <oleonard@myacpl.org>
Thu, 25 Feb 2021 14:03:43 +0000 (14:03 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 1 Mar 2021 14:14:23 +0000 (15:14 +0100)
This patch modifies the late orders page so that the late order title
uses the "biblio-title" include to display a standard title with a link
to the bibliographic detail page.

To test, apply the patch and go to Acquisitions -> Late orders.

In the table of late orders, confirm that the title display correctly
and links to the correct bibliographic record.

Signed-off-by: Severine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt

index 97b7aac..16ed1d5 100644 (file)
@@ -99,7 +99,7 @@
                 ([% lateorder.basket.bookseller.id | html %])
             </td>
             <td>
-                <strong>[% lateorder.biblio.title | html %]</strong>
+                <span class="title">[% INCLUDE 'biblio-title.inc' biblio=lateorder.biblio link=1 %]</span>
                    [% IF ( lateorder.biblio.author ) %]<br/><em>Author:</em> [% lateorder.biblio.author | html %][% END %]
                    [% IF ( lateorder.biblio.biblioitem.publishercode ) %]
                         <br/><em>Published by:</em> [% lateorder.biblio.biblioitem.publishercode | html %]