Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Kyle M Hall a8458630a7 Bug 12582 - Control of branch displayed in search results linked to HomeOrHoldingBranch
Some libraries would like the ability choose to display the home branch
on search results while having circulation rules based on the holding
branch. This is currently impossible because both the display of the
branch in search results, and the selection of the home or holding
branch for circulation rules are controlled by the same system
preference: HomeOrHoldingBranch. This preference is described as being
used only for circulation rules, and makes no mention of its use for
display control. The display control should be split off into a separate
preference.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Note the value of the new system preference StaffSearchResultsDisplayBranch
   matches the current value of HomeOrHoldingBranch
4) Set the preference to home branch
5) Perform a staff catalog search with results having items with differing home and
   holding branches.
6) Note the home branch displays
7) Set the preference to holding branch
8) Repeat step 5
9) Note the holding branch displays

Signed-off-by: Jason Robb <jrobb@sekls.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, logic is now tied to a new system preference.
Passes tests and QA script.
2014-09-05 12:15:57 -03:00
..
preferences Bug 12582 - Control of branch displayed in search results linked to HomeOrHoldingBranch 2014-09-05 12:15:57 -03:00
searchengine/solr
admin-home.tt Bug 6536: QA Follow-up for string changes referring to Z39.50 2014-09-01 10:09:14 -03:00
aqbudget_user_search.tt
aqbudgetperiods.tt Bug 7498 - Cloning a budget, enable change of description 2014-09-05 10:21:30 -03:00
aqbudgets.tt
aqcontract.tt
aqplan.tt
auth_subfields_structure.tt
auth_tag_structure.tt
authorised_values.tt
authtypes.tt
biblio_framework.tt
branch_transfer_limits.tt
branches.tt
categorie.tt
checkmarc.tt
cities.tt
classsources.tt
clone-rules.tt
columns_settings.tt
currency.tt
didyoumean.tt
fieldmapping.tt
item_circulation_alerts.tt
itemtypes.tt
koha2marclinks.tt
marc_subfields_structure.tt
marctagstructure.tt
matching-rules.tt
oai_set_mappings.tt
oai_sets.tt
patron-attr-types.tt
preferences.tt
printers.tt
smart-rules.tt
sru_modmapping.tt
stopwords.tt
systempreferences.tt
transport-cost-matrix.tt
z3950servers.tt Bug 6536: QA Follow-up for string changes referring to Z39.50 2014-09-01 10:09:14 -03:00