Hi!

Den 16.02.2024 06:56, skrev David Cook via Koha-devel:
I think it might be partially broken.

As per https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16520 <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16520> I added the following to the OPAC and the staff interface:

RequestHeader add X-Koha-SetEnv "OVERRIDE_SYSPREF_LibraryName Potato\, Potato"

It did indeed load into the OPAC.

In the past, I think it used to fill in and lock the syspref in the staff interface as well…  but maybe not anymore. Maybe because it would just affect the staff interface, and yet sometimes maybe you only want to affect the staff interface… hmm…

We have used this a fair bit to set up alternative/infividual OPACs for individual libraries, but I have never seen a setting like that fill in or otherwise affect the actual syspref. And how would that work when you have 5 different VirtualHost configs all setting their own OVERRIDE_SYSPREF_LibraryName?

I can confirm that settings like these work for us:

RequestHeader add X-Koha-SetEnv "OVERRIDE_SYSPREF_LibraryName Grundskolan"
RequestHeader add X-Koha-SetEnv "OPAC_SEARCH_LIMIT branch:multibranchlimit-23"
RequestHeader add X-Koha-SetEnv "OPAC_LIMIT_OVERRIDE 1"

Best regards,
Magnus
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/

Reply via email to