Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Tomas Cohen Arazi 662a98345a Bug 19028: Add 'shelving location' to holdings table in detail page
This patch adds the option to show shelving locations on a separate
column. This is controlled by a new syspref, 'OpacLocationOnDetail',
which replaces 'OpacLocationBranchToDisplayShelving', adding a
conveniente 'column' option.

The new 'Shelving location' column is conveniently added to the columns
configuration entry added by bug 16759 for this purpose.

The current behaviour is preserved.

To test:
- Apply this patches
- Run the upgrade:
  $ sudo koha-shell kohadev
 k$ cd kohaclone
 k$ perl installer/data/mysql/updatedatabase.pl
=> SUCCESS: Upgrade doesn't fail
- Have an item with shelving location set to something not void
- Have the item set home and holding libraries for testing purposes.
- Set 'OpacLocationBranchToDisplay' to 'home and holding libraries' [*]
- Visit the OPAC detail page for the record containing the item
=> SUCCESS: Both home and holding libraries are displayed.
- Loop through all OpacLocationOnDetail options (except from 'column', we leave it for later).
=> SUCCESS: Works as expected.
- Go to Administration > Columns settings
- Make item_shelving_location available in the OPAC section
- Reload the OPAC detail page
=> SUCCESS: No change
- Set OpacLocationOnDetail to 'on a separate column'
- Reload the OPAC detail page
=> SUCCESS: Shelving location is displayed on a separate column
- Sign off :-D

Sponsored-by: Dover

[*] For testing purposes

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-10-25 12:14:41 -03:00
..
preferences Bug 19028: Add 'shelving location' to holdings table in detail page 2017-10-25 12:14:41 -03:00
searchengine/elasticsearch Bug 17793: Follow up for identified missing changes 2017-02-17 15:34:11 +00:00
admin-home.tt Bug 18700 Fix grammar (data cannot be pluralized) 2017-06-05 11:46:58 -03:00
aqbudgetperiods.tt Bug 18351: Able to delete budget with funds 2017-09-12 11:28:53 -03:00
aqbudgets.tt Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
aqcontract.tt Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
aqplan.tt
audio_alerts.tt Bug 18122 - Audio alerts: Add hint on where to enable sounds 2017-03-03 18:15:53 +00:00
auth_subfields_structure.tt Bug 17793: Follow up for identified missing changes 2017-02-17 15:34:11 +00:00
auth_tag_structure.tt Bug 17793: Make sysprefs search show on all Admin pages 2017-02-17 15:34:11 +00:00
authorised_values.tt Bug 19391: (bug 19128 follow-up) Fix failing tests from auth_values_input_www.t 2017-09-29 17:12:18 -03:00
authtypes.tt Bug 19108: Fix Stored XSS in authtypes.pl 2017-09-29 12:20:50 -03:00
biblio_framework.tt Bug 19108: (follow-up) Fix Stored XSS in biblio_framework.pl 2017-09-29 12:20:51 -03:00
branch_transfer_limits.tt Bug 18965 - branch transfer limits pagination save bug 2017-07-24 13:38:14 -03:00
branches.tt Bug 10132: (QA followup) Open LOC URL on a separate window 2017-09-19 09:47:28 -03:00
categories.tt Bug 19128: Fix Stored XSS in patron-attr-types.pl, authorised_values.pl and categories.pl 2017-09-29 12:20:45 -03:00
checkmarc.tt Bug 17793: Make sysprefs search show on all Admin pages 2017-02-17 15:34:11 +00:00
cities.tt Bug 19034: XSS Flaws in Cities 2017-08-29 12:00:37 -03:00
classsources.tt Bug 19108: Fix Stored XSS in classsources.pl 2017-09-29 12:20:50 -03:00
clone-rules.tt Bug 17793: Follow up for identified missing changes 2017-02-17 15:34:11 +00:00
columns_settings.tt Bug 16759: Make OPAC holdings table configurable 2017-10-25 12:14:40 -03:00
currency.tt Bug 19033: XSS Flaws in Currencies and exchange page 2017-08-29 12:00:37 -03:00
didyoumean.tt Bug 17793: Make sysprefs search show on all Admin pages 2017-02-17 15:34:11 +00:00
edi_accounts.tt Bug 18699: Get rid of %%] in translation for edi_accounts.tt 2017-06-16 17:04:08 -03:00
edi_ean_accounts.tt Bug 17793: Make sysprefs search show on all Admin pages 2017-02-17 15:34:11 +00:00
fieldmapping.tt Bug 19108: (follow-up) Fix Stored XSS in fieldmapping.pl and items_search_fields.pl 2017-09-29 12:20:51 -03:00
item_circulation_alerts.tt Bug 17793: Make sysprefs search show on all Admin pages 2017-02-17 15:34:11 +00:00
items_search_field.tt Bug 19108: Fix Stored XSS in items_search_fields.pl 2017-09-29 12:20:50 -03:00
items_search_fields.tt Bug 19108: (follow-up) Fix Stored XSS in fieldmapping.pl and items_search_fields.pl 2017-09-29 12:20:51 -03:00
itemtypes.tt Bug 12768: Replacement cost and processing fee management 2017-10-20 17:14:33 -03:00
koha2marclinks.tt Bug 17793: Make sysprefs search show on all Admin pages 2017-02-17 15:34:11 +00:00
localization.tt
marc_subfields_structure.tt Bug 17793: Follow up for identified missing changes 2017-02-17 15:34:11 +00:00
marctagstructure.tt Bug 19108: Fix Stored XSS in biblio_framework.pl and marctagstructure.pl 2017-09-29 12:20:51 -03:00
matching-rules.tt Bug 19103: Fix Stored XSS in matching-rules.pl 2017-09-29 12:20:46 -03:00
oai_set_mappings.tt Bug 19108: Fix Stored XSS in oai_sets.pl 2017-09-29 12:20:47 -03:00
oai_sets.tt Bug 19108: Fix Stored XSS in oai_sets.pl 2017-09-29 12:20:47 -03:00
patron-attr-types.tt Bug 19103: Fix Stored XSS in patron-attr-types.pl 2017-09-29 12:20:46 -03:00
preferences.tt Bug 16726: Do not display "You searched for:" if not needed 2017-10-03 11:06:07 -03:00
printers.tt Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
smart-rules.tt Bug 19027 - Circulation rules: Better wording for standard rules for all libraries 2017-08-10 16:25:35 -03:00
sms_providers.tt Bug 17793: Make sysprefs search show on all Admin pages 2017-02-17 15:34:11 +00:00
sru_modmapping.tt
systempreferences.tt Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
transport-cost-matrix.tt Bug 17793: Make sysprefs search show on all Admin pages 2017-02-17 15:34:11 +00:00
usage_statistics.tt Bug 18066: Fix map positioning in admin/usage_statistics.pl 2017-03-23 00:10:47 +00:00
z3950servers.tt Bug 19034: XSS Flaws in Z39.50/SRU servers administration 2017-08-29 12:00:37 -03:00