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

(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 211-216 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
211
('displayFacetCount','0',NULL,NULL,'YesNo'),
211
('displayFacetCount','0',NULL,NULL,'YesNo'),
212
('DisplayIconsXSLT','1','','If ON, displays the format, audience, and material type icons in XSLT MARC21 results and detail pages.','YesNo'),
212
('DisplayIconsXSLT','1','','If ON, displays the format, audience, and material type icons in XSLT MARC21 results and detail pages.','YesNo'),
213
('DisplayLibraryFacets',  'holding',  'home|holding|both',  'Defines which library facets to display.',  'Choice'),
213
('DisplayLibraryFacets',  'holding',  'home|holding|both',  'Defines which library facets to display.',  'Choice'),
214
('DisplayMultiItemHolds','0','','Display the ability to place holds on different items at the same time in staff interface and OPAC','YesNo'),
214
('DisplayMultiPlaceHold','1','','Display the ability to place multiple holds or not','YesNo'),
215
('DisplayMultiPlaceHold','1','','Display the ability to place multiple holds or not','YesNo'),
215
('DisplayOPACiconsXSLT','1','','If ON, displays the format, audience, and material type icons in XSLT MARC21 results and detail pages in the OPAC.','YesNo'),
216
('DisplayOPACiconsXSLT','1','','If ON, displays the format, audience, and material type icons in XSLT MARC21 results and detail pages in the OPAC.','YesNo'),
216
('DumpSearchQueryTemplate',0,'','Add the search query being passed to the search engine into the template for debugging','YesNo'),
217
('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 867-872 Circulation: Link Here
867
                  1: Enable
867
                  1: Enable
868
                  0:  "Don't enable"
868
                  0:  "Don't enable"
869
            - "the ability to place holds on multiple bibliographic records from the search results"
869
            - "the ability to place holds on multiple bibliographic records from the search results"
870
        -
871
            - pref: DisplayMultiItemHolds
872
              choices:
873
                  1: Enable
874
                  0: "Don't enable"
875
            - "the ability to place holds on different items at the same time in staff interface and OPAC"
870
        -
876
        -
871
            - pref: TransferWhenCancelAllWaitingHolds
877
            - pref: TransferWhenCancelAllWaitingHolds
872
              choices:
878
              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 786-794 Link Here
786
                                                            Hold must be item group level
790
                                                            Hold must be item group level
787
                                                        </span>
791
                                                        </span>
788
                                                    [% ELSIF ( itemloo.available ) %]
792
                                                    [% ELSIF ( itemloo.available ) %]
789
                                                        <input type="checkbox" name="checkitem" value="[% itemloo.itemnumber | html %]" />
793
                                                        <input type="[% reserve_input_type | html %]" name="checkitem" value="[% itemloo.itemnumber | html %]" />
790
                                                    [% ELSIF ( itemloo.override ) %]
794
                                                    [% ELSIF ( itemloo.override ) %]
791
                                                        <input type="checkbox" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber | html %]" />
795
                                                        <input type="[% reserve_input_type | html %]" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber | html %]" />
792
                                                        <i class="fa fa-exclamation-triangle fa-lg" style="color:gold" title="Requires override of hold policy"/></i>
796
                                                        <i class="fa fa-exclamation-triangle fa-lg" style="color:gold" title="Requires override of hold policy"/></i>
793
                                                    [% ELSE %]
797
                                                    [% ELSE %]
794
                                                        <span class="error">
798
                                                        <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 395-401 Link Here
395
                                                                <tr class="holdable">
399
                                                                <tr class="holdable">
396
                                                            [% END %]
400
                                                            [% END %]
397
                                                                    <td class="copynumber" data-order="[% itemLoo.copynumber | html %]">
401
                                                                    <td class="copynumber" data-order="[% itemLoo.copynumber | html %]">
398
                                                                        <input type="checkbox" class="checkitem checkitem_[% bibitemloo.biblionumber | html %]" name="checkitem_[% bibitemloo.biblionumber | html %]" value="[% itemLoo.itemnumber | html %]" />
402
                                                                        <input type="[% reserve_input_type | html %]" class="checkitem checkitem_[% bibitemloo.biblionumber | html %]" name="checkitem_[% bibitemloo.biblionumber | html %]" value="[% itemLoo.itemnumber | html %]" />
399
                                                        [% ELSE %]
403
                                                        [% ELSE %]
400
                                                            [% SET unholdable_items = 1 %]
404
                                                            [% SET unholdable_items = 1 %]
401
                                                            [% IF ( itemLoo.checkout ) %]
405
                                                            [% IF ( itemLoo.checkout ) %]
402
- 

Return to bug 15565