Bug 7825: (follow-up) fix the force value for the bootstrap theme
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 14 Jan 2014 08:38:32 +0000 (09:38 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 26 May 2014 01:01:12 +0000 (01:01 +0000)
commit976b1dbb7ef4b5a95d74379ef2e57c079a3662f5
tree91718bd37b49337d1ff0d8175311ded2b1d987f6
parent0f657f7a5f55eac2036c526fbc5eab069a08713c
Bug 7825: (follow-up) fix the force value for the bootstrap theme

If the pref was set to 'force', the item selection was not shown.
.copiesrow should be hidden before showing specific #copiesrow_ID

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.

Works on template level, tested with Boostrap and Prog theme
with all 3 possible seetings of OPACItemHolds:

1) no = offer only title level holds
2) yes = offer both title and item level holds
3) force = offer only item level holds

Also ran some additional tests on the Boostrap theme with
deactivated Javascript.

Note: I like this, but I think when "force" is selected the
item list needs to be shown by default. I am also not happy about
preselecting the first item.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt