Bugzilla – Attachment 168383 Details for
Bug 32252
Number of results in a facet do not show after facet selection
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32252: Show number of results after facet selection
Bug-32252-Show-number-of-results-after-facet-selec.patch (text/plain), 1.79 KB, created by
Eric Garcia
on 2024-07-02 15:34:56 UTC
(
hide
)
Description:
Bug 32252: Show number of results after facet selection
Filename:
MIME Type:
Creator:
Eric Garcia
Created:
2024-07-02 15:34:56 UTC
Size:
1.79 KB
patch
obsolete
>From 5754f47311b2d89e3ee46e0617df5d993fd8e1a4 Mon Sep 17 00:00:00 2001 >From: Eric Garcia <cubingguy714@gmail.com> >Date: Tue, 2 Jul 2024 15:13:39 +0000 >Subject: [PATCH] Bug 32252: Show number of results after facet selection > >To test: >1. In system preferences, set displatFacetCount to show. >2. Search catalog and select a facet. >3. Notice next to the facet it only shows [x], and not (n) the indicated number of results. >4. Apply patch. >5. Search catalog and select a facet. >6. Notice next to the facet it now shows (n) the indicated number of results and [x] to deselect the facet. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc >index 403628d52f..2e54fcb523 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc >@@ -101,6 +101,7 @@ > [% IF facet.active %] > [% local_url = BLOCK %][% url | $raw %][% "&nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value | url %][% END %] > <span class="[% facet_label_class | html %]">[% facet.facet_label_value | html %]</span> >+ <span class="facet-count"> ([% facet.facet_count | html %]) </span> > [<a href="[% local_url | $raw %]" title="Remove facet [% facet.facet_label_value | html %]">x</a>] > [% ELSE %] > [% local_url = BLOCK %][% url | $raw %][% "&limit=" _ facet.type_link_value _ ":" _ facet.facet_link_value | url %][% END %] >-- >2.30.2
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 32252
:
168383
|
168408
|
168412