Bug 10257 - Make OpacSeparateHoldings work for non-logged in users
Summary: Make OpacSeparateHoldings work for non-logged in users
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Owen Leonard
QA Contact:
URL:
Keywords:
Depends on: 7674
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-16 08:35 UTC by Magnus Enger
Modified: 2023-01-25 23:14 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Enger 2013-05-16 08:35:02 UTC
OpacSeparateHoldings is a great enhancement, but only works for logged in users, which means it is less useful on e.g. public access computers in the library, used for quickly looking up what books are on the shelf in the library. 

It would be nice to have a way to choose a library without being logged in. This could probably work very similar to how the language chooser works (with a cookie). 

It would also be nice to be able to specify the chosen library in a URL, so you could link to a shared OPAC with a special link and have the chosen library be "your" library. (See bug 9735 for a parallel development for languages.)
Comment 1 Katrin Fischer 2013-05-16 12:31:09 UTC
Maybe this could work similar as bug 7740?

>If set to OpacURLBranch, the library is chosen based on the Apache
environment variable BRANCHCODE.
>For example, this could be added to the OPAC section of koha-httpd.conf:
SetEnv BRANCHCODE "CPL"
Comment 2 Magnus Enger 2013-05-16 13:05:35 UTC
(In reply to comment #1)
> Maybe this could work similar as bug 7740?
> 
> >If set to OpacURLBranch, the library is chosen based on the Apache
> environment variable BRANCHCODE.
> >For example, this could be added to the OPAC section of koha-httpd.conf:
> SetEnv BRANCHCODE "CPL"

Yeah, that is cool! But as far as I can understand, if you have say 50 libraries in one instance, you have to create 50 new apache configs, one for each library. I still think it would be nice to have a way to set the library based on a URL that does not require tweaking the Apache configs.
Comment 3 Katrin Fischer 2023-01-25 23:14:08 UTC
The request for the library URL is a little similar to bug 10060. Adding a see also.