Bugzilla – Attachment 131762 Details for
Bug 30205
Add biblio.subtitle to the subscription-detail.pl page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30205: Add subtitle to subscription detail page
Bug-30205-Add-subtitle-to-subscription-detail-page.patch (text/plain), 3.45 KB, created by
Andrew Fuerste-Henry
on 2022-03-15 20:20:57 UTC
(
hide
)
Description:
Bug 30205: Add subtitle to subscription detail page
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2022-03-15 20:20:57 UTC
Size:
3.45 KB
patch
obsolete
>From eba51a5ef2410e3dda7278ce521358927d3b8023 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 1 Mar 2022 16:30:04 +0000 >Subject: [PATCH] Bug 30205: Add subtitle to subscription detail page > >To test: >1. Make some new serial subscriptions and connect them to biblios that contain subtitles. >2. Do a serial search that will return your newly created subscription. >3. Click on one of those subscription to be taken to the subscription detail page. >4. Look at the main heading (h1) and the "Biblio:" line. Notice there is no subtitle in either place >5. Apply patch, restart_all, and reload the subscription detail page. >6. You should now see the subtitle on both the main heading (h1) and on the 'Biblio:' line. > >Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> >--- > C4/Serials.pm | 1 + > .../prog/en/modules/serials/subscription-detail.tt | 4 ++-- > 2 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index ad772fecac..391cdd5b33 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -269,6 +269,7 @@ sub GetSubscription { > subscriptionhistory.*, > aqbooksellers.name AS aqbooksellername, > biblio.title AS bibliotitle, >+ biblio.subtitle AS bibliosubtitle, > subscription.biblionumber as bibnum > FROM subscription > LEFT JOIN subscriptionhistory ON subscription.subscriptionid=subscriptionhistory.subscriptionid >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >index 4cccfff7db..513addf3a1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >@@ -50,7 +50,7 @@ > [% INCLUDE 'serials-toolbar.inc' %] > [% INCLUDE 'mana/mana-comment-status.inc' %] > >- <h1>Subscription for [% bibliotitle | html %] [% IF closed %](closed)[% END %]</h1> >+ <h1>Subscription for [% bibliotitle | html %] [% bibliosubtitle | html %] [% IF closed %](closed)[% END %]</h1> > > [% IF ( abouttoexpire ) %] > [% UNLESS closed %] >@@ -111,7 +111,7 @@ > <li><span class="label">Subscription ID: </span>[% subscriptionid | html %]</li> > <li><span class="label">Librarian identity:</span> [% librarian | html %]</li> > <li><span class="label">Vendor:</span> <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% aqbooksellerid | uri %]">[% aqbooksellername | html %]</a></li> >- <li><span class="label">Biblio:</span> <a href="/cgi-bin/koha/catalogue/[% default_bib_view | uri %].pl?biblionumber=[% bibnum | uri %]">[% bibliotitle | html %]</a> <em>([% bibnum | html %])</em></li> >+ <li><span class="label">Biblio:</span> <a href="/cgi-bin/koha/catalogue/[% default_bib_view | uri %].pl?biblionumber=[% bibnum | uri %]">[% bibliotitle | html %] [% bibliosubtitle | html %]</a> <em>([% bibnum | html %])</em></li> > [% IF ( OPACBaseURL ) %] > <li> > <span class="label">OPAC view:</span> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30205
:
131201
|
131762
|
132915