Bug 33536

Summary: If staff member only has catalogue permission, search bar is hidden
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Caroline Cyr La Rose 2023-04-14 14:29:38 UTC
If a staff member with only the catalogue permission (permission to access the staff interface), the search bar at the top of the page is hidden. You have to click "Search catalog" and then it appears. I guess they wouldn't know that it's not usually like this, but normally, the search bar is visible at the top of the page.

To reproduce:
1. Create a staff patron and give them only the catalogue permission
2. Log into the staff interface with that account
   --> No search bar at the top of the page
3. Click "Search catalog" in the green bar at the top of the page
   --> Search bar appears

Since it's their only option, I think the search bar should be displayed.
Comment 1 Katrin Fischer 2023-04-15 21:33:41 UTC
I've tried and fail to come up with a nice solution here. It looks like we'd need to touch quite a lot of files to change the selected first tab when the permissions are different.
Comment 2 Katrin Fischer 2023-05-01 14:06:29 UTC
I believe we have a duplicate with a patch now with bug 33612.

*** This bug has been marked as a duplicate of bug 33612 ***