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 Bug 11763: (follow-up) do not display anything in actions column if user cannot manage a budget 2014-05-04 18:41:33 +00:00
aqcontract.tt Bug 12508: Follow up - corrects capitalization 2014-07-10 10:44:15 -03:00
aqplan.tt Bug 766: Remove CGI::scrolling_list from aqplan.pl 2014-08-13 10:11:01 -03:00
auth_subfields_structure.tt Bug 12091: HTML from auth_subfields_structure.tt doesn't pass firefox's html validator 2014-08-15 14:48:44 -03:00
auth_tag_structure.tt Bug 12686: Make more selected option XHTML compliant 2014-08-07 10:58:39 -03:00
authorised_values.tt Bug 766: Remove CGI::scrollinglist from authorised_values.pl 2014-08-13 10:11:11 -03:00
authtypes.tt Bug 11766 - Use validation plugin when creating new authority type 2014-02-19 15:47:57 +00:00
biblio_framework.tt Bug 11769: (follow-up) style required fields 2014-04-27 21:38:28 +00:00
branch_transfer_limits.tt Bug 11504: Untranslatable "Item Type" or "Collection Code" in branch transfer limits 2014-08-15 15:30:18 -03:00
branches.tt Bug 11605: fallback to default DataTables settings where possible 2014-03-10 19:05:51 +00:00
categorie.tt Bug 6254: (follow-up) tidy admin/categorie.pl ( whitespace changes only ) 2014-05-26 01:23:00 +00:00
checkmarc.tt
cities.tt Bug 11605: fallback to default DataTables settings where possible 2014-03-10 19:05:51 +00:00
classsources.tt
clone-rules.tt
columns_settings.tt Bug 10212: (qa followup) accordion collapsed by default 2014-08-26 10:26:50 -03:00
currency.tt Bug 10212: Move colvis files to the include file 2014-08-26 09:28:58 -03:00
didyoumean.tt
fieldmapping.tt
item_circulation_alerts.tt Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
itemtypes.tt Bug 11351 - Add support for SIP2 media types 2014-04-28 17:54:42 +00:00
koha2marclinks.tt Bug 12686: Make more selected option XHTML compliant 2014-08-07 10:58:39 -03:00
marc_subfields_structure.tt Bug 12686: Make more selected option XHTML compliant 2014-08-07 10:58:39 -03:00
marctagstructure.tt Bug 766: Remove CGI::scrollinglist from marctagstructure.pl 2014-08-13 10:11:19 -03:00
matching-rules.tt
oai_set_mappings.tt Bug 12686: Make more selected option XHTML compliant 2014-08-07 10:58:39 -03:00
oai_sets.tt Bug 11806 - Use validation plugin when creating new OAI set 2014-03-26 19:21:14 +00:00
patron-attr-types.tt Bug 6254: make it possible to set default privacy setting for new patrons 2014-05-26 01:17:37 +00:00
preferences.tt Bug 12150 - Use more javascript string formatting in intranet for translated strings. 2014-07-03 09:52:48 -03:00
printers.tt Bug 11765 - Remove unused function isDate from templates 2014-02-18 20:51:38 +00:00
smart-rules.tt Bug 12686: Make more selected option XHTML compliant 2014-08-07 10:58:39 -03:00
sru_modmapping.tt Bug 6536: Add a form for SRU Field mapping 2014-09-01 10:08:50 -03:00
stopwords.tt Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js 2014-02-18 20:49:30 +00:00
systempreferences.tt Bug 11765 - Remove unused function isDate from templates 2014-02-18 20:51:38 +00:00
transport-cost-matrix.tt Bug 8938: Transport cost matrix script and template contain untranslatable strings 2014-08-14 20:37:37 -03:00
z3950servers.tt Bug 6536: QA Follow-up for string changes referring to Z39.50 2014-09-01 10:09:14 -03:00