[Koha-bugs] [Bug 17632] New: Branch facets in opac do not respect OPAC_SEARCH_LIMIT.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 15 16:16:15 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17632
Bug ID: 17632
Summary: Branch facets in opac do not respect
OPAC_SEARCH_LIMIT.
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Searching
Assignee: gmcharlt at gmail.com
Reporter: barton at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
I think this is similar to
Bug 12848 : Hotlinked searches from detailed record does not respect
OPAC_SEARCH_LIMIT.
Here's an excerpt from the apache config for each opac URL:
ACLL:
ServerName acll.bywatersolutions.com
SetEnv OPAC_SEARCH_LIMIT branch:ACLL
RequestHeader add X-Koha-SetEnv "OPAC_SEARCH_LIMIT branch:ACLL"
CCCLL:
ServerName catalog.cccpllib.org
ServerAlias ccll.acll.bywatersolutions.com
SetEnv OPAC_SEARCH_LIMIT branch:CCCLL
RequestHeader add X-Koha-SetEnv "OPAC_SEARCH_LIMIT branch:CCCLL"
And here are the branch groups:
select branchcode, branchname, branchrelations.categorycode from branches inner
join branchrelations using (branchcode) order by categorycode, branchcode;
+------------+------------------------------------------------+--------------+
| branchcode | branchname | categorycode |
+------------+------------------------------------------------+--------------+
| Computer | Computer Use Only - Alameda County Law Library | ACLL |
| DUB | Dublin Satellite Location | ACLL |
| Hay | Hayward Branch | ACLL |
| Oak | Oakland | ACLL |
| MAR | Martinez | CCCLL |
| PIT | Pittsburg Branch | CCCLL |
| RICH | Richmond Branch | CCCLL |
+------------+------------------------------------------------+--------------+
The following search is from the acll.bywatersolutions.com domain, i.e. it
should only be returning search results for the branches 'Computer', 'DUB',
'Hay' and 'Oak', but the branch 'Martinez' (i.e MAR) is showing in the "Holding
libraries" facet.
http://acll.bywatersolutions.com/cgi-bin/koha/opac-search.pl?idx=su%2Cphr&q=ethics
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list