Bugzilla – Attachment 99816 Details for
Bug 24617
Add title notes count in staff detail (following 24530)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24617: Add number to Descriptions in catalogue detail view
Bug-24617-Add-number-to-Descriptions-in-catalogue-.patch (text/plain), 1.70 KB, created by
Katrin Fischer
on 2020-02-29 11:38:08 UTC
(
hide
)
Description:
Bug 24617: Add number to Descriptions in catalogue detail view
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-02-29 11:38:08 UTC
Size:
1.70 KB
patch
obsolete
>From 69822359e6123d1e66abff970922779a20974e76 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 24 Feb 2020 14:05:23 +0000 >Subject: [PATCH] Bug 24617: Add number to Descriptions in catalogue detail > view > >Same change as in bug 24530 for OPAC. >Only much easier. No trouble from Syndetics. > >Test plan: >Add or remove a few notes from the MARC record (tag 500 etc). >Verify the number is correct on the detail page. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Tested the else part for 'notes' with a [% SET notes = 'test' %] in tt file. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 20bb32bb37..3fb4b8263d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -182,7 +182,7 @@ > <a href="#holdings">Holdings ([% itemloop.size() || 0 | html %])</a> > </li> > [% END %] >-[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %] >+[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions ([% ( MARCNOTES.size || 1 ) | html %])</a></li>[% END %] > [% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %] > [% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %] > [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %] >-- >2.11.0
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 24617
:
99526
|
99527
| 99816