The patron summary page in the bootstrap OPAC does not show subtitle in
the list of checkouts, overdues, or holds. This patch corrects this.

To test, set your OPAC theme to bootstrap and log in to the OPAC as a
user who has items checked out, items overdue, and items on hold. At
least one of each of those should be a title which has a subtitle as
defined in Administration -> Keyword to MARC mapping. Subtitles should
appear correctly under the "Checked out," "Overdue," and "Holds" tabs.
---
 .../opac-tmpl/bootstrap/en/modules/opac-user.tt    |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt 
b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
index 50c66c1..797e671 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
@@ -184,7 +184,8 @@
                                                 </td>[% END # / IF 
JacketImages %]
 
                                                 <td class="title">
-                                                    <a class="title" 
href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]">[% 
ISSUE.title |html %]</a> <span class="item-details">[% ISSUE.author %]</span>
+                                                    <a class="title" 
href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]">[% 
ISSUE.title |html %] [% FOREACH subtitl IN ISSUE.subtitle %] [% 
subtitl.subfield %][% END %]</a>
+                                                    <span 
class="item-details">[% ISSUE.author %]</span>
                                                 </td>
                                                 [% IF ( ISSUE.overdue ) %]
                                                     <td class="date_due 
overdue">
@@ -338,7 +339,7 @@
                                                 <td><img src="[% themelang 
%]/images/[% WAITIN.itemtype %].gif" alt="[% WAITIN.itemtype %]" title="[% 
WAITIN.itemtype %]" /></td>
                                                 <td>
                                                     <a class="title" 
href="opac-detail.pl?biblionumber=[% WAITIN.biblionumber %]">
-                                                        [% 
WAITIN.waiting_title %]
+                                                        [% 
WAITIN.waiting_title %] [% FOREACH subtitl IN WAITIN.subtitle %] [% 
subtitl.subfield %][% END %]
                                                     </a>
                                                     <span class="item-details">
                                                         [% WAITIN.author %]
@@ -422,7 +423,7 @@
                                                 [% END # /IF jacketcell %]
 
                                                 <td>
-                                                    <a class="title" 
href="/cgi-bin/koha/opac-detail.pl?bib=[% OVERDUE.biblionumber %]">[% 
OVERDUE.title |html %]
+                                                    <a class="title" 
href="/cgi-bin/koha/opac-detail.pl?bib=[% OVERDUE.biblionumber %]">[% 
OVERDUE.title |html %] [% FOREACH subtitl IN OVERDUE.subtitle %] [% 
subtitl.subfield %][% END %]
                                                     </a>
                                                     <span 
class="item-details">[% OVERDUE.author %]</span></td>
 
@@ -520,7 +521,7 @@
                                             <tr>
                                         [% END %]
                                             <td class="title">
-                                                <a class="title" 
href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RESERVE.biblionumber %]">[% 
RESERVE.reserves_title %]</a>
+                                                <a class="title" 
href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RESERVE.biblionumber %]">[% 
RESERVE.reserves_title %] [% FOREACH subtitl IN RESERVE.subtitle %] [% 
subtitl.subfield %][% END %]</a>
                                                 [% RESERVE.author %]
                                             </td>
                                             <td class="reservedate">
-- 
1.7.9.5
_______________________________________________
Koha-patches mailing list
Koha-patches@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to