Bugzilla – Attachment 178777 Details for
Bug 37883
Add a filter for staff search results to filter by library
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37883: A couple minor fixes to results.tt
Bug-37883-A-couple-minor-fixes-to-resultstt.patch (text/plain), 4.55 KB, created by
Lucas Gass (lukeg)
on 2025-02-27 00:24:37 UTC
(
hide
)
Description:
Bug 37883: A couple minor fixes to results.tt
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-02-27 00:24:37 UTC
Size:
4.55 KB
patch
obsolete
>From e3c569f4c06ab40e119480871255ac17ed786f7b Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 27 Feb 2025 00:24:12 +0000 >Subject: [PATCH] Bug 37883: A couple minor fixes to results.tt > >--- > .../prog/en/modules/catalogue/results.tt | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >index 0957aaa67cd..d1fb09eefcd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -756,9 +756,9 @@ > , <span>None available</span> > [% END %] > </div> >- [% IF SEARCH_RESULT.branchtotalcount > 0 && Koha.Preference('FilterSearchResultsByLoggedInBranch') %] >+ [% IF SEARCH_RESULT.branchtotalcount.size && Koha.Preference('FilterSearchResultsByLoggedInBranch') %] > <div class="branch_specific"> >- [% tnx('{count} item', '{count} items', SEARCH_RESULT.branchtotalcount, {count = SEARCH_RESULT.branchtotalcount}) | html %][% IF ( SEARCH_RESULT.branchavailablecount ) %] >+ [% tnx('{count} local item', '{count} local items', SEARCH_RESULT.branchtotalcount, {count = SEARCH_RESULT.branchtotalcount}) | html %][% IF ( SEARCH_RESULT.branchavailablecount ) %] > , [% SEARCH_RESULT.branchavailablecount | html %] <span>available:</span> > [% ELSE %] > , <span>None available</span> >@@ -774,9 +774,9 @@ > , <span>None available</span> > [% END %] > </div> >- [% IF SEARCH_RESULT.branchtotalcount > 0 %] >+ [% IF SEARCH_RESULT.branchtotalcount.size %] > <div class="branch_specific"> >- [% tnx('{count} item', '{count} items', SEARCH_RESULT.branchtotalcount, {count = SEARCH_RESULT.branchtotalcount}) | html %][% IF ( SEARCH_RESULT.branchavailablecount ) %] >+ [% tnx('{count} local item', '{count} local items', SEARCH_RESULT.branchtotalcount, {count = SEARCH_RESULT.branchtotalcount}) | html %][% IF ( SEARCH_RESULT.branchavailablecount ) %] > , [% SEARCH_RESULT.branchavailablecount | html %] <span>available:</span> > [% ELSE %] > , <span>None available</span> >@@ -880,10 +880,10 @@ > [% ELSE %] > <span class="unavailable all">No items</span> > [% END %] >+ [% IF SEARCH_RESULT.branchtotalcount.size && Koha.Preference('FilterSearchResultsByLoggedInBranch') %] >+ <span class="unavailable branch_specific" style="display:none;">No items</span> >+ [% END %] > [% END # /IF ( SEARCH_RESULT.items_count ) %] >- [% IF SEARCH_RESULT.branchtotalcount == 0 && Koha.Preference('FilterSearchResultsByLoggedInBranch') %] >- <span class="unavailable branch_specific">No items</span> >- [% END %] > </div> > <!-- /.availability --> > </td> >-- >2.39.5
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 37883
:
171256
|
171257
|
171261
|
171286
|
171287
|
171289
|
171291
|
171406
|
171407
|
171408
|
171409
|
171410
|
171411
|
176697
|
177306
|
177784
|
177785
|
177786
|
177787
|
177788
|
177789
|
177790
|
177791
|
178772
|
178773
|
178774
|
178775
|
178776
| 178777