https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42202
Bug ID: 42202
Summary: IndependentBranches shouldn't filter public branches
in OPAC
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: OPAC
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
There are a few places in the OPAC where we use the following:
[% SET AllPublicBranches = Branches.all( search_params => { public => 1 },
selected => opac_name ) %]
For instance, in the masthead library pulldown in the search bar, and the
library dropdown in Advanced Search.
However, IndependentBranches will make it so that only the logged in user's
branch is retrieved, so the pull down disappears for non-superlibrarians in
this scenario.
This really makes no sense, since an unauthenticated user can see all the
branches. Plus, the logged in user can do a search and then filter by any
library.
So... I reckon we should add "unfiltered => 1" for cases like masthead.inc and
opac-advsearch.tt.
I'll check the others to see if they should or shouldn't be filtered...
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/