Bugzilla – Attachment 98356 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: Show a number for title notes on opac-detail
Bug-24530-Show-a-number-for-title-notes-on-opac-de.patch (text/plain), 1.71 KB, created by
David Nind
on 2020-02-03 19:01:48 UTC
(
hide
)
Description:
Bug 24530: Show a number for title notes on opac-detail
Filename:
MIME Type:
Creator:
David Nind
Created:
2020-02-03 19:01:48 UTC
Size:
1.71 KB
patch
obsolete
>From 6730fbf449185483e3c4c9429a89f7dcdc67d894 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Wed, 29 Jan 2020 14:15:02 +0000 >Subject: [PATCH] Bug 24530: Show a number for title notes on opac-detail > >A number (just as on most other tabs) tells more than a boolean (i.e. the >tab does not appear for zero marc notes). Intuitively, you might be misled >by "Holdings (1), Descriptions" and think there are none. > >Test plan: >Verify that the number of title notes on opac detail page matches your >expectations. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- > 1 file changed, 1 insertion(+), 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 9ab7a1017e..25f5600408 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,7 @@ > <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</a></li> >+ <li id="tab_descriptions"> <a href="#descriptions">Title notes ( [% MARCNOTES.size %] )</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