]> git.koha-community.org Git - koha.git/commit
Bug 7441 - search results showing wrong branch?
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 2 Jun 2016 14:01:56 +0000 (14:01 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 10 Aug 2016 13:14:19 +0000 (13:14 +0000)
commit4db2e745e244bfc9e8315b4903c30e21142d9cb4
treea5f9cfa96991ec6820aece5b577d22e33953e44d
parent26f20d64cb6336b4911f91befa736539946a0a0c
Bug 7441 - search results showing wrong branch?

When you search in the OPAC it shows you the HOME branch on the location
in XSLT, but if you click through to the detail page it shows you the
CURRENT BRANCH in the holdings table which is very confusing to patrons.
I don't know what's the right solution - home or holding branch, but they
should be the same in both places for the patron's sake. If you do the same
search in the staff client you see the right branch info on the search results
and on the detail page.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Search the catalog, you search should include results with items
   that have different home and holding libraries.
4) The results should look the same as before the patch
5) Change the system preference OPACResultsLibrary to "current location"
6) Refresh your page of search results
7) The results show now show the holding library instead of the home library

Signed-off-by: Barbara Walters <bwalters@ncrl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/XSLT.pm
installer/data/mysql/atomicupdate/bug_7441.sql [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl