Bugzilla – Attachment 132077 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.05 KB, created by
Shi Yao Wang
on 2022-03-23 19:35:54 UTC
(
hide
)
Description:
Bug 27035: Shows the number of results in a facets after facet selection
Filename:
MIME Type:
Creator:
Shi Yao Wang
Created:
2022-03-23 19:35:54 UTC
Size:
2.05 KB
patch
obsolete
>From c23fbf6cb4553cb826586b8c8750b6daff270597 Mon Sep 17 00:00:00 2001 >From: Shi Yao Wang <shiyao@inlibro.com> >Date: Wed, 23 Mar 2022 15:31:40 -0400 >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 | 3 +++ > 1 file changed, 3 insertions(+) > >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..5e6e638c0b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >@@ -53,6 +53,9 @@ > [% 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> >+ [% IF ( displayFacetCount ) %] >+ <span class="facet-count-selected">([% facet.facet_count | html %])</span> >+ [% END %] > [<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.25.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