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 795-803 Link Here
795
                                                            Hold must be item group level
799
                                                            Hold must be item group level
796
                                                        </span>
800
                                                        </span>
797
                                                    [% ELSIF ( itemloo.available ) %]
801
                                                    [% ELSIF ( itemloo.available ) %]
798
                                                        <input type="checkbox" name="checkitem" value="[% itemloo.itemnumber | html %]" />
802
                                                        <input type="[% reserve_input_type | html %]" name="checkitem" value="[% itemloo.itemnumber | html %]" />
799
                                                    [% ELSIF ( itemloo.override ) %]
803
                                                    [% ELSIF ( itemloo.override ) %]
800
                                                        <input type="checkbox" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber | html %]" />
804
                                                        <input type="[% reserve_input_type | html %]" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber | html %]" />
801
                                                        <i class="fa fa-exclamation-triangle fa-lg" style="color:gold" title="Requires override of hold policy"/></i>
805
                                                        <i class="fa fa-exclamation-triangle fa-lg" style="color:gold" title="Requires override of hold policy"/></i>
802
                                                    [% ELSE %]
806
                                                    [% ELSE %]
803
                                                        <span class="error">
807
                                                        <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 394-400 Link Here
394
                                                                <tr class="holdable">
398
                                                                <tr class="holdable">
395
                                                            [% END %]
399
                                                            [% END %]
396
                                                                    <td class="copynumber" data-order="[% itemLoo.copynumber | html %]">
400
                                                                    <td class="copynumber" data-order="[% itemLoo.copynumber | html %]">
397
                                                                        <input type="checkbox" class="checkitem checkitem_[% bibitemloo.biblionumber | html %]" name="checkitem_[% bibitemloo.biblionumber | html %]" value="[% itemLoo.itemnumber | html %]" />
401
                                                                        <input type="[% reserve_input_type | html %]" class="checkitem checkitem_[% bibitemloo.biblionumber | html %]" name="checkitem_[% bibitemloo.biblionumber | html %]" value="[% itemLoo.itemnumber | html %]" />
398
                                                        [% ELSE %]
402
                                                        [% ELSE %]
399
                                                            [% SET unholdable_items = 1 %]
403
                                                            [% SET unholdable_items = 1 %]
400
                                                            [% IF ( itemLoo.checkout ) %]
404
                                                            [% IF ( itemLoo.checkout ) %]
401
- 

Return to bug 15565