Bugzilla – Attachment 113675 Details for
Bug 27035
Shows the number of results in a facet after facet selection
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Bug 27035: Shows the number of results in a facets.
Bug-27035-Shows-the-number-of-results-in-a-facets.patch (text/plain), 2.24 KB, created by
Ivan Dziuba
on 2020-11-16 16:42:36 UTC
(
hide
)
Description:
Bug 27035: Shows the number of results in a facets.
Filename:
MIME Type:
Creator:
Ivan Dziuba
Created:
2020-11-16 16:42:36 UTC
Size:
2.24 KB
patch
obsolete
>From 954e29b27bf0516493cdb11b15dbaa87b42aef5c Mon Sep 17 00:00:00 2001 >From: Ivan Dziuba <ivan.dziuba@inlibro.com> >Date: Mon, 16 Nov 2020 11:26:29 -0500 >Subject: [PATCH] Bug 27035: Shows the number of results in a facets. > >Test: >1. Apply the patch. >2. The number of results is displayed for each facet after searching. >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >index dad168a4ef..0f20cb37fa 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >@@ -52,11 +52,11 @@ > [% END %] > [% IF facet.active %] > [% local_url = BLOCK %][% url | $raw %][% "&nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value | url %][% END %] >- <span class="facet-label">[% facet.facet_label_value | html %]</span> >+ <span class="facet-label">[% facet.facet_label_value | html %]</span> <strong>([% facet.facet_count | html %])</strong> > [<a href="[% local_url | $raw %]" title="Remove facet [% facet.facet_link_value | html %]">x</a>] > [% ELSE %] > [% local_url = BLOCK %][% url | $raw %][% "&limit=" _ facet.type_link_value _ ":" _ facet.facet_link_value | url %][% END %] >- <span class="facet-label"><a href="[% local_url | $raw %]" title="[% facet.facet_title_value | html %]">[% facet.facet_label_value | html %]</a></span> >+ <span class="facet-label"><a href="[% local_url | $raw %]" title="[% facet.facet_title_value | html %]">[% facet.facet_label_value | html %] <strong>([% facet.facet_count | html %])</strong></a></span> > [% IF ( displayFacetCount ) %] > <span class="facet-count"> ([% facet.facet_count | html %])</span> > [% END %] >-- >2.17.1
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 Raw
Actions:
View
Attachments on
bug 27035
:
113670
|
113675
|
113678
|
113680
|
132077
|
132195
|
132807