Koha/koha-tmpl/intranet-tmpl/prog/en
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
..
css Bug 11117: Fix text mixup in facets where RTL text + facet count showed 2014-05-05 00:44:31 +00:00
data Bug 11695 - Fixed typo in marc21_field_008.xml 2014-03-11 14:21:23 +00:00
includes Bug 12110: Display the order vendor note in basket and basketgroup CSV and PDF 2014-05-25 15:21:22 +00:00
js Bug 7180: (follow-up) fix various issues 2014-05-04 19:56:59 +00:00
lib Bug 12195 - Remove duplicated plugin jquery.dataTables.min.js 2014-05-08 16:18:05 +00:00
modules Bug 7825: Changed OPACItemHolds syspref to be no|yes|force choice 2014-05-26 00:55:49 +00:00
xslt Bug 9075: Rename "type" to "material type" on staff XSLT detail and results 2014-04-08 23:33:15 +00:00
columns.def Bug 9216: (follow-up) Make description in columns.def more specific 2014-04-19 13:35:31 +00:00