Bugzilla – Attachment 129740 Details for
Bug 6734
Show location in full and brief subscription history in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6734: (QA follow-up) Fix punctuation, TT filters, and CSS class
Bug-6734-QA-follow-up-Fix-punctuation-TT-filters-a.patch (text/plain), 2.92 KB, created by
Katrin Fischer
on 2022-01-24 22:30:02 UTC
(
hide
)
Description:
Bug 6734: (QA follow-up) Fix punctuation, TT filters, and CSS class
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-01-24 22:30:02 UTC
Size:
2.92 KB
patch
obsolete
>From 3762a45de239db58f13c4687519e3342b49820d7 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sun, 9 Jan 2022 10:49:44 +0000 >Subject: [PATCH] Bug 6734: (QA follow-up) Fix punctuation, TT filters, and CSS > class > >* Changes Location : to Location: >* Removes html_line_break filter, as location is not multi-line >* Add subscription_location CSS class >* Use AuthorisedValues.GetDescriptionByKohaField() > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >https://bugs.koha-community.org/show_bug.cgi?id=6743 >--- > .../opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt >index 31a6cf80cd..dc92e43e32 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt >@@ -153,7 +153,7 @@ > [% END %] > </td> > <td class="libraryfilterclass">[% Branches.GetName( serial.branchcode ) | html %]</td> >- <td>[% AuthorisedValues.GetByCode( 'LOC', serial.location, 1 ) | html %]</td> >+ <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => serial.location, opac => 1 ) | html %]</td> > <td>[% serial.notes | html %]</td> > [% IF ( serial.status2 && serial.planneddate ) %] > <td data-order="[% serial.planneddate | html %]"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt >index 3e1c02c968..3cf41913d2 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt >@@ -133,7 +133,7 @@ > > <h3>[% subscription_LOO.branchname | html %]</h3> > [% IF ( subscription_LOO.location ) %] >- <p>Location : <em>[% AuthorisedValues.GetByCode( 'LOC', subscription_LOO.location, 1 ) | html | html_line_break %]</em></p> >+ <p class="subscription_location">Location: [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => subscription_LOO.location, opac => 1 ) | html %]</p> > [% END %] > > [% IF ( subscription_LOO.notes ) %] >-- >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 6734
:
128637
|
128679
|
129118
|
129230
|
129231
| 129740