Bugzilla – Attachment 188007 Details for
Bug 39807
Problems with search bar on intranet mainpage for users with limited permissions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39807: Fix active tab in home-search.inc
Bug-39807-Fix-active-tab-in-home-searchinc.patch (text/plain), 1.70 KB, created by
Lucas Gass (lukeg)
on 2025-10-16 13:13:57 UTC
(
hide
)
Description:
Bug 39807: Fix active tab in home-search.inc
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-10-16 13:13:57 UTC
Size:
1.70 KB
patch
obsolete
>From 06c8f4972137b457eda2f498b86015398a23dc8b Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 16 Oct 2025 13:12:00 +0000 >Subject: [PATCH] Bug 39807: Fix active tab in home-search.inc > >To test: > >1. Make or find a staff member with staff access and list_borrowers permission. >2. Visit the intranet mainpage and notice the 'Search catalog' label but there is no search box. >3. Click 'Search catalog', the search bar now appears >4. Add the 'edit_borrowers' permission >5. Revisit the intranet mainpage and notice both 'Search patrons' and 'Search catalog' links >6. Click on 'Search catalog', now you see both search bars stacked up. >7. APPLY PATCH >8. Try all the steps again and make sure the search bars are working properly for the limited permission user. >9. Try logging in as a superlibrarian and making sure everything still works. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc >index 1cc37661580..17bca09e882 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc >@@ -40,7 +40,7 @@ > [% END %] > [% END %] > [% IF ( CAN_user_borrowers_edit_borrowers ) %] >- [% WRAPPER tab_item tabname= "patron_search" bt_active= search_active_tab %] >+ [% WRAPPER tab_item tabname= "patron_search" bt_active= patrons_active_tab %] > <i class="fa fa-fw fa-id-card" aria-hidden="true"></i> <span class="tab-title">Search patrons</span> > [% END %] > [% END %] >-- >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 39807
: 188007