Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
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
..
acquisitions.pref Bug 15685: Allow creation of items (AcqCreateItem) to be customizable per-basket 2017-10-11 13:06:06 -03:00
admin.pref Bug 16892: Add automatic patron registration via OAuth2 login 2017-08-25 10:51:25 -03:00
authorities.pref Bug 18554: Adjust a few typos including responsability 2017-05-09 21:03:22 +00:00
cataloguing.pref Bug 13912: (QA followup) Make it explicit that syspref applies to MARC21 2017-09-29 16:49:49 -03:00
circulation.pref Bug 12768: Fix YAML syntax in circulation.pref 2017-10-20 17:14:34 -03:00
enhanced_content.pref bug_16034 Adding a new syspref - OverDriveCirculation 2017-02-21 19:58:21 +00:00
i18n_l10n.pref Bug 17762: Add the new TranslateNotices syspref 2017-05-09 20:56:40 +00:00
labs.pref Bug 11559: (QA followup) switch to new delimiter, fix minor issues 2015-10-27 12:18:00 -03:00
local_use.pref Bug 5462: fixed current preferences tab highlighting bug created by dashfix 2011-02-03 09:58:52 +00:00
logs.pref Bug 17708: Added a logaction function in Addrenewal in order to send renew logs 2017-03-31 12:36:16 +00:00
opac.pref Bug 19028: Add 'shelving location' to holdings table in detail page 2017-10-25 12:14:41 -03:00
patrons.pref Bug 18298: Enforce password complexity 2017-10-16 09:44:32 -03:00
searching.pref Added a new syspref to Load history to the next user 2017-03-22 19:01:28 +00:00
serials.pref Bug 7677 [Follow-up]: New areas in subscriptions and new functions when receiving. 2016-09-12 09:13:56 +00:00
staff_client.pref Bug 16401: System preference staffClientBaseURL hardcoded to 'http://' 2017-10-11 13:05:35 -03:00
tools.pref Bug 17465: NumSavedReports syspref 2017-05-09 21:17:53 +00:00
web_services.pref Bug 16165 - Include link to ILS-DI documentation page in ILS-DI system preference 2016-06-10 18:08:13 +00:00