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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/

Reply via email to