Bugzilla – Attachment 113680 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]
[patch]
Bug 27035: Shows the number of results in a facets after facet selection
Bug-27035-Shows-the-number-of-results-in-a-facets-.patch (text/plain), 2.04 KB, created by
Ivan Dziuba
on 2020-11-16 17:59:37 UTC
(
hide
)
Description:
Bug 27035: Shows the number of results in a facets after facet selection
Filename:
MIME Type:
Creator:
Ivan Dziuba
Created:
2020-11-16 17:59:37 UTC
Size:
2.04 KB
patch
obsolete
>From 8e688fd83da1f456dd09c1f0379bd37848cd560b Mon Sep 17 00:00:00 2001 >From: Ivan Dziuba <ivan.dziuba@inlibro.com> >Date: Mon, 16 Nov 2020 12:19:32 -0500 >Subject: [PATCH] Bug 27035: Shows the number of results in a facets after > facet selection > >System preferences: >displayFacetCount - Show; > >1. Let's search >2. Near to each of the facets, we see the number of results (n) >3. Click on any of the facets and filter the result >4. Opposite the selected facets, the number of results is not displayed >Ex. >Marriage Fiction [x] > >Apply the patch >1. Let's search >2. Near to each of the facets, we see the number of results (n) >3. Click on any of the facets and filter the result >4. Now, opposite the selected facets, the number of results is displayed >Ex. >Marriage Fiction (2) [x] >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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..47fd1dae4a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >@@ -52,7 +52,7 @@ > [% 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 %] >-- >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 Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27035
:
113670
|
113675
|
113678
|
113680
|
132077
|
132195
|
132807