Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart c8f38bfb3d Bug 7825: Changed OPACItemHolds syspref to be no|yes|force choice
Currently, the Koha system preference OPACItemHolds allows a library
system to choose to allow patrons to place bib and item level holds from
the OPAC, or to allow patrons only to place bib level holds only from
the OPAC.

This patch set adds a third option, "force", which *requires* that
patrons place item level holds from the opac, with no option of making a
bib level hold.

This patch modifies the system preference OPACItemHolds to be of the
type "Choice", with the choices being "no", "yes", "force". The patch
does not alter the currently set value of OPACItemHolds for database
updates, only adding the additional option.

Test Plan:
1) Set OPACItemHolds to "no". Check that OPAC holds behave as it is now
(no "Place On" column, no "Select a specific copy" table, making a
reserve is successful)
2) Set OPACItemHolds to "yes". Check that OPAC holds behave as it is now
( "Place On" column is there, "Select a specific copy" table shows when
"A specific copy" is selected, making a reserve is successful)
3) Set OPACItemHolds to "force". Check that OPAC holds behave as follows:
  -  no "Place On" column is present
  -  "Select a specific copy" table is opened
  -  making a reserve is successful

This patch is a squashed patch of the 3 following patches:

Amended opac-reserve.tt accordingly

Signed-off-by: Delaye Stephane <stephane.delaye@biblibre.com>

Bug 7825: Followup prevent submission without choosing an item

+ Fix some ergonomic issues in opac-reserve

Signed-off-by: Delaye Stephane <stephane.delaye@biblibre.com>

Bug 7825: Updatedatabase should only change the type and options values.

The value field should not be changed. We have to keep '1' for 'yes' and ''
for 'no'.

Original patch is from Srdjan Jankovic.

Signed-off-by: Koha team AMU <koha.aixmarseille@gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Testing notes on 4th patch.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-05-26 00:55:49 +00:00
..
acqui Bug 3050: QA follow-up 2014-05-25 21:15:03 +00:00
admin Bug 7825: Changed OPACItemHolds syspref to be no|yes|force choice 2014-05-26 00:55:49 +00:00
authorities Bug 7442: fix crash when selecting an authority with 200$x or 200$y (UNIMARC) 2014-05-05 01:09:29 +00:00
basket Bug 12107 - Move checkboxes jQuery plugin outside of language-specific directory 2014-04-25 15:12:20 +00:00
batch Bug 9210: wrap long lines in printed hold notices 2014-01-15 15:51:44 +00:00
catalogue Bug 12206: fix HTML in other holdings list in staff search results page 2014-05-13 14:07:12 +00:00
cataloguing Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
circ Bug 12184: fix typo "retricted" on checkin page 2014-05-22 21:09:49 +00:00
course_reserves Bug 11570 - Upgrade jQueryUI to latest version in the staff client 2014-04-07 15:37:27 +00:00
errors
help Bug 12190: fold the "Creators" system preference tab into "Tools" 2014-05-23 13:09:51 +00:00
installer
labels Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
members Bug 766: Use a TT include instead of a method in the AV plugin 2014-05-04 23:04:35 +00:00
offline_circ Bug 12107 - Move checkboxes jQuery plugin outside of language-specific directory 2014-04-25 15:12:20 +00:00
patron_lists Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
patroncards Bug 11365: (follow-up) trim whitespace in the translate_card_element block 2014-05-23 14:46:54 +00:00
plugins
reports Bug 11679: Add ODS as an export format for reports 2014-04-28 19:06:41 +00:00
reserve Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
reviews
rotating_collections
serials Bug 12161: fix regression on serials receiving 2014-05-06 14:43:38 +00:00
services
sms
suggestion Bug 11724: Make Funds/Status on suggestions page sortable/searchable 2014-04-28 17:25:29 +00:00
tags Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
test
tools Bug 12238: (follow-up) tweak descriptions of the ID list 2014-05-23 15:53:21 +00:00
virtualshelves Bug 12116 - Move fixFloat jQuery plugin outside of language-specific directory 2014-04-25 15:21:11 +00:00
z3950
about.tt Bug 11578: QA follow-up 2014-05-03 18:16:11 +00:00
auth.tt Bug 11146: Show a go back link on no permission page 2013-11-23 19:43:37 +00:00
intranet-main.tt Bug 10415 - Add course reserves to staff client home page 2014-03-12 18:15:24 +00:00