Summary: | With IndependentBranches and SearchMyLibraryFirst logged in user is unable to search other libraries' resources | ||
---|---|---|---|
Product: | Koha | Reporter: | Janusz Kaczmarek <januszop> |
Component: | OPAC | Assignee: | Janusz Kaczmarek <januszop> |
Status: | Signed Off --- | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | oleonard |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | Trivial patch | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Attachments: |
Bug 40248: With IndependentBranches and SearchMyLibraryFirst logged in user is unable to search other libraries' resources
Bug 40248: With IndependentBranches and SearchMyLibraryFirst logged in user is unable to search other libraries' resources |
Description
Janusz Kaczmarek
2025-06-26 11:47:09 UTC
Created attachment 183530 [details] [review] Bug 40248: With IndependentBranches and SearchMyLibraryFirst logged in user is unable to search other libraries' resources Recently (between 23.11 and 24.11) the following problem has emerged: with IndependentBranches = 'Yes' and SearchMyLibraryFirst = 'Limit' a logged in user is unable to search other libraries' resources, even if OpacAddMastheadLibraryPulldown is set to 'Add'. Test plan: 1. Set system preferences: SearchMyLibraryFirst to Limit IndependentBranches to Yes OpacAddMastheadLibraryPulldown to Add 2. Open OPAC page. You should see the libraries pull down on the right (next to the magnifying glass icon). 3. Perform a search for a common word (e.g. Peter), note the number of results. 4. Log in to OPAC as a normal user (not superlibrarian). 5. Repeat the search. You should get less results (only from your library). You will not be able to broaden the search and get results from all libraries (until you log out). You will also not see the libraries pull down. 6. Apply the patch ; restart_all. 7. Repeat p. 2-5. Now you should be able to see the libraries pull down, select All libraries and broaden the search for all libraries' resources. Created attachment 183559 [details] [review] Bug 40248: With IndependentBranches and SearchMyLibraryFirst logged in user is unable to search other libraries' resources Recently (between 23.11 and 24.11) the following problem has emerged: with IndependentBranches = 'Yes' and SearchMyLibraryFirst = 'Limit' a logged in user is unable to search other libraries' resources, even if OpacAddMastheadLibraryPulldown is set to 'Add'. Test plan: 1. Set system preferences: SearchMyLibraryFirst to Limit IndependentBranches to Yes OpacAddMastheadLibraryPulldown to Add 2. Open OPAC page. You should see the libraries pull down on the right (next to the magnifying glass icon). 3. Perform a search for a common word (e.g. Peter), note the number of results. 4. Log in to OPAC as a normal user (not superlibrarian). 5. Repeat the search. You should get less results (only from your library). You will not be able to broaden the search and get results from all libraries (until you log out). You will also not see the libraries pull down. 6. Apply the patch ; restart_all. 7. Repeat p. 2-5. Now you should be able to see the libraries pull down, select All libraries and broaden the search for all libraries' resources. Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> |