IntranetBiblioDefaultView is not respected by the the MARC21 results XSLT stylesheet. It probably should be, considering that the syspref rather strongly implies that it should impact links in the results view.
Actually, I can find no evidence that the syspref does anything at all.
One last update. Apparently there is unsafe caching of that syspref specifically, because under Plack the change won't be reflected unless you restart the server, even when the syspref cache is disabled. So the bug is just for the XSLT view.
Could it be linked to bug 8405 - add IntranetBiblioDefaultView and BiblioDefaultView to XSLT.pm? http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8405
Created attachment 29685 [details] [review] Bug 10571 - IntranetBiblioDefaultView doesn't do anything with MARC21 XSLT The staff client's XSLT results view does not respect the choice set in the IntranetBiblioDefaultView system preference. This patch adds a check of the preference to the staff client's results view for MARC21. To test you must have the staff client configured to use the XSLT view for search results. Perform any search and test the link to a title's detail page. Switching the value of the IntranetBiblioDefaultView preference should be correctly reflected in the search results links.
Created attachment 30652 [details] [review] [SIGNED.OFF] Bug 10571 - IntranetBiblioDefaultView doesn't do anything with MARC21 XSLT The staff client's XSLT results view does not respect the choice set in the IntranetBiblioDefaultView system preference. This patch adds a check of the preference to the staff client's results view for MARC21. To test you must have the staff client configured to use the XSLT view for search results. Perform any search and test the link to a title's detail page. Switching the value of the IntranetBiblioDefaultView preference should be correctly reflected in the search results links. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Work as described, no koha-qa errors. Only for MARC21 :(
Created attachment 30889 [details] [review] [PASSED QA] Bug 10571 - IntranetBiblioDefaultView doesn't do anything with MARC21 XSLT The staff client's XSLT results view does not respect the choice set in the IntranetBiblioDefaultView system preference. This patch adds a check of the preference to the staff client's results view for MARC21. To test you must have the staff client configured to use the XSLT view for search results. Perform any search and test the link to a title's detail page. Switching the value of the IntranetBiblioDefaultView preference should be correctly reflected in the search results links. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Work as described, no koha-qa errors. Only for MARC21 :( Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Works as described, no problems found.
Patch pushed to master. Thanks Owen!