Bugzilla – Attachment 163015 Details for
Bug 36082
OPACResultsSideBar not working with library specific message
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36082: Set branchcode correctly in opac-facets.inc
Bug-36082-Set-branchcode-correctly-in-opac-facetsi.patch (text/plain), 1.65 KB, created by
David Nind
on 2024-03-10 02:19:19 UTC
(
hide
)
Description:
Bug 36082: Set branchcode correctly in opac-facets.inc
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-03-10 02:19:19 UTC
Size:
1.65 KB
patch
obsolete
>From c06c2b37cd6ec6ca998cf633e3eb0881f5bb449d Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 29 Feb 2024 22:33:33 +0000 >Subject: [PATCH] Bug 36082: Set branchcode correctly in opac-facets.inc > >1. Tools> HTML Customization >2. Choose OPACresultssidebar >3. Create an entry specific to a library. >4. Also try to add this same entry into a translation tab, if installed. >5. Go to the OPAC >6. Login as a patron of that library that the specific OPACresultsidebar is assigned to >7. Search the catalog, and look below the facets,where the OPACresultssidebar would appear. >8. No text. >9. APPLY PATCH >10. Try step 7 again. >11. TEXT! > >Signed-off-by: David Nind <david@davidnind.com> >--- > 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 8a62c4cd93..5415f6fb27 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >@@ -3,7 +3,7 @@ > [% USE Languages %] > [% PROCESS 'i18n.inc' %] > [% USE AdditionalContents %] >-[% SET OPACResultsSidebar = AdditionalContents.get( location => "OPACResultsSidebar", lang => lang, library => branchcode || default_branch ) %] >+[% SET OPACResultsSidebar = AdditionalContents.get( location => "OPACResultsSidebar", lang => lang, library => logged_in_user.branchcode || default_branch ) %] > [% IF ( opacfacets && facets_loop && total ) %] > <div id="search-facets"> > <h2><a href="#" class="menu-collapse-toggle">Refine your search</a></h2> >-- >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 36082
:
162628
|
163015
|
164462