Koha/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
..
searchengine/elasticsearch
add_user_search.pl
admin-home.pl
aqbudgetperiods.pl Bug 19328: Internal server error because of missing currency 2017-10-11 13:05:31 -03:00
aqbudgets.pl Bug 19328: Internal server error because of missing currency 2017-10-11 13:05:31 -03:00
aqcontract.pl
aqplan.pl Bug 19328: Internal server error because of missing currency 2017-10-11 13:05:31 -03:00
audio_alerts.pl
auth_subfields_structure.pl Bug 18854: Protect few other occurrences of offset 2017-07-14 12:02:04 -03:00
auth_tag_structure.pl Bug 18854: Protect few other occurrences of offset 2017-07-14 12:02:04 -03:00
authorised_values.pl
authtypes.pl
biblio_framework.pl
branch_transfer_limits.pl Bug 15758: Koha::Libraries - Remove GetBranches 2016-09-08 14:36:03 +00:00
branches.pl Bug 10132: Admin pages changes 2017-09-19 09:47:27 -03:00
categories.pl
check_budget_parent.pl
check_parent_total.pl
checkmarc.pl
cities.pl
classsources.pl
clone-rules.pl
columns_settings.pl
columns_settings.yml Bug 19028: Add 'shelving location' to holdings table in detail page 2017-10-25 12:14:41 -03:00
currency.pl Bug 19256: Make Koha::Acq::Order using Koha::Object 2017-09-07 15:03:04 -03:00
didyoumean.pl
edi_accounts.pl
edi_ean_accounts.pl
fieldmapping.pl
import_export_framework.pl
item_circulation_alerts.pl
items_search_field.pl
items_search_fields.pl
itemtypes.pl Bug 12768: Replacement cost and processing fee management 2017-10-20 17:14:33 -03:00
koha2marclinks.pl
localization.pl
marc_subfields_structure.pl Bug 18854: Protect few other occurrences of offset 2017-07-14 12:02:04 -03:00
marctagstructure.pl
matching-rules.pl
oai_set_mappings.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
oai_sets.pl
patron-attr-types.pl
preferences.pl
printers.pl
smart-rules.pl
sms_providers.pl
sru_modmapping.pl
systempreferences.pl
transport-cost-matrix.pl
usage_statistics.pl
z3950servers.pl