View | Details | Raw Unified | Return to bug 15565
Collapse All | Expand All

(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 213-218 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
213
('displayFacetCount','0',NULL,NULL,'YesNo'),
213
('displayFacetCount','0',NULL,NULL,'YesNo'),
214
('DisplayIconsXSLT','1','','If ON, displays the format, audience, and material type icons in XSLT MARC21 results and detail pages.','YesNo'),
214
('DisplayIconsXSLT','1','','If ON, displays the format, audience, and material type icons in XSLT MARC21 results and detail pages.','YesNo'),
215
('DisplayLibraryFacets',  'holding',  'home|holding|both',  'Defines which library facets to display.',  'Choice'),
215
('DisplayLibraryFacets',  'holding',  'home|holding|both',  'Defines which library facets to display.',  'Choice'),
216
('DisplayMultiItemHolds','0','','Display the ability to place holds on different items at the same time in staff interface and OPAC','YesNo'),
216
('DisplayMultiPlaceHold','1','','Display the ability to place multiple holds or not','YesNo'),
217
('DisplayMultiPlaceHold','1','','Display the ability to place multiple holds or not','YesNo'),
217
('DisplayOPACiconsXSLT','1','','If ON, displays the format, audience, and material type icons in XSLT MARC21 results and detail pages in the OPAC.','YesNo'),
218
('DisplayOPACiconsXSLT','1','','If ON, displays the format, audience, and material type icons in XSLT MARC21 results and detail pages in the OPAC.','YesNo'),
218
('DumpSearchQueryTemplate',0,'','Add the search query being passed to the search engine into the template for debugging','YesNo'),
219
('DumpSearchQueryTemplate',0,'','Add the search query being passed to the search engine into the template for debugging','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (+6 lines)
Lines 885-890 Circulation: Link Here
885
                  1: Enable
885
                  1: Enable
886
                  0:  "Don't enable"
886
                  0:  "Don't enable"
887
            - "the ability to place holds on multiple bibliographic records from the search results"
887
            - "the ability to place holds on multiple bibliographic records from the search results"
888
        -
889
            - pref: DisplayMultiItemHolds
890
              choices:
891
                  1: Enable
892
                  0: "Don't enable"
893
            - "the ability to place holds on different items at the same time in staff interface and OPAC"
888
        -
894
        -
889
            - pref: TransferWhenCancelAllWaitingHolds
895
            - pref: TransferWhenCancelAllWaitingHolds
890
              choices:
896
              choices:
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-2 / +6 lines)
Lines 11-16 Link Here
11
[% USE AuthorisedValues %]
11
[% USE AuthorisedValues %]
12
[% USE Price %]
12
[% USE Price %]
13
[% USE TablesSettings %]
13
[% USE TablesSettings %]
14
[% SET reserve_input_type = 'radio' %]
15
[% IF ( Koha.Preference('DisplayMultiItemHolds') ) %]
16
    [% SET reserve_input_type = 'checkbox' %]
17
[% END %]
14
[% PROCESS 'i18n.inc' %]
18
[% PROCESS 'i18n.inc' %]
15
[% SET footerjs = 1 %]
19
[% SET footerjs = 1 %]
16
[% INCLUDE 'doc-head-open.inc' %]
20
[% INCLUDE 'doc-head-open.inc' %]
Lines 804-812 Link Here
804
                                                            Hold must be item group level
808
                                                            Hold must be item group level
805
                                                        </span>
809
                                                        </span>
806
                                                    [% ELSIF ( itemloo.available ) %]
810
                                                    [% ELSIF ( itemloo.available ) %]
807
                                                        <input type="checkbox" name="checkitem" value="[% itemloo.itemnumber | html %]" />
811
                                                        <input type="[% reserve_input_type | html %]" name="checkitem" value="[% itemloo.itemnumber | html %]" />
808
                                                    [% ELSIF ( itemloo.override ) %]
812
                                                    [% ELSIF ( itemloo.override ) %]
809
                                                        <input type="checkbox" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber | html %]" />
813
                                                        <input type="[% reserve_input_type | html %]" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber | html %]" />
810
                                                        <i class="fa fa-exclamation-triangle fa-lg" style="color:gold" title="Requires override of hold policy"/></i>
814
                                                        <i class="fa fa-exclamation-triangle fa-lg" style="color:gold" title="Requires override of hold policy"/></i>
811
                                                    [% ELSE %]
815
                                                    [% ELSE %]
812
                                                        <span class="error">
816
                                                        <span class="error">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-2 / +5 lines)
Lines 5-10 Link Here
5
[% USE Price %]
5
[% USE Price %]
6
[% USE ItemTypes %]
6
[% USE ItemTypes %]
7
[% USE AuthorisedValues %]
7
[% USE AuthorisedValues %]
8
[% SET reserve_input_type = 'radio' %]
9
[% IF ( Koha.Preference('DisplayMultiItemHolds') ) %]
10
    [% SET reserve_input_type = 'checkbox' %]
11
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Placing a hold &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
13
<title>Placing a hold &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
10
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
Lines 397-403 Link Here
397
                                                                <tr class="holdable">
401
                                                                <tr class="holdable">
398
                                                            [% END %]
402
                                                            [% END %]
399
                                                                    <td class="copynumber" data-order="[% itemLoo.copynumber | html %]">
403
                                                                    <td class="copynumber" data-order="[% itemLoo.copynumber | html %]">
400
                                                                        <input type="checkbox" class="checkitem checkitem_[% bibitemloo.biblionumber | html %]" name="checkitem_[% bibitemloo.biblionumber | html %]" value="[% itemLoo.itemnumber | html %]" />
404
                                                                        <input type="[% reserve_input_type | html %]" class="checkitem checkitem_[% bibitemloo.biblionumber | html %]" name="checkitem_[% bibitemloo.biblionumber | html %]" value="[% itemLoo.itemnumber | html %]" />
401
                                                        [% ELSE %]
405
                                                        [% ELSE %]
402
                                                            [% SET unholdable_items = 1 %]
406
                                                            [% SET unholdable_items = 1 %]
403
                                                            [% IF ( itemLoo.checkout ) %]
407
                                                            [% IF ( itemLoo.checkout ) %]
404
- 

Return to bug 15565