Bugzilla – Attachment 98993 Details for
Bug 24530
Show the number of title notes in the tab label on the OPAC detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24530: (QA follow-up) Include Syndetics in notes count
Bug-24530-QA-follow-up-Include-Syndetics-in-notes-.patch (text/plain), 1.98 KB, created by
Katrin Fischer
on 2020-02-14 17:45:06 UTC
(
hide
)
Description:
Bug 24530: (QA follow-up) Include Syndetics in notes count
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-02-14 17:45:06 UTC
Size:
1.98 KB
patch
obsolete
>From 24cb70637a267c8e1bab4fb9805a9ebc98a6182c Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 10 Feb 2020 08:05:50 +0000 >Subject: [PATCH] Bug 24530: (QA follow-up) Include Syndetics in notes count > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Tested by enabling the prefs and passing contents to the template var. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index d6517132ea..f0e06a78a9 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -563,7 +563,14 @@ > <li><a href="#otherholdings">Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' | html %]</a></li> > [% END %] > [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %] >- <li id="tab_descriptions"> <a href="#descriptions">Title notes ( [% MARCNOTES.size %] )</a></li> >+ [% SET title_notes_count = 0 %] >+ [% IF MARCNOTES %] >+ [% SET title_notes_count = MARCNOTES.size %] >+ [% ELSIF notes %] >+ [% SET title_notes_count = 1 %] >+ [% END %] >+ [% IF SYNDETICS_SUMMARY %][% SET title_notes_count = title_notes_count + 1 %][% END %] >+ <li id="tab_descriptions"> <a href="#descriptions">Title notes ( [% title_notes_count %] )</a></li> > [% END %] > [% IF ( SYNDETICS_TOC ) %] > <li id="tab_toc"> <a href="#toc">TOC</a></li> >-- >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 24530
:
98084
|
98356
|
98635
|
98992
| 98993 |
99091