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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-12 / +14 lines)
Lines 249-266 Link Here
249
                                                            <span class="date-format to" data-biblionumber="[% bibitemloo.biblionumber %]">[% INCLUDE 'date-format.inc' %]</span>
249
                                                            <span class="date-format to" data-biblionumber="[% bibitemloo.biblionumber %]">[% INCLUDE 'date-format.inc' %]</span>
250
                                                        </li>
250
                                                        </li>
251
251
252
                                                        [% UNLESS ( multi_hold ) %]
252
                                                        [% IF Koha.Preference('AllowHoldItemTypeSelection') %]
253
                                                            [% IF Koha.Preference('AllowHoldItemTypeSelection') %]
253
                                                            [% itemtypes = [] %]
254
                                                                <li>
254
                                                            [% FOREACH item IN bibitemloo.itemLoop %]
255
                                                                    <label for="itemtype">Request specific item type:</label>
255
                                                                [% itemtypes.push( item.itype ) %]
256
                                                                    <select name="itemtype" size="1" id="itemtype">
256
                                                            [%- END %]
257
                                                                        <option value="">Any item type</option>
257
                                                            <li>
258
                                                                        [%- FOREACH itemtype IN available_itemtypes %]
258
                                                                <label for="itemtype">Request specific item type:</label>
259
                                                                            <option value="[% itemtype %]">[% ItemTypes.GetDescription( itemtype ) %]</option>
259
                                                                <select name="itemtype" size="1" id="itemtype">
260
                                                                        [%- END %]
260
                                                                    <option value="">Any item type</option>
261
                                                                    </select>
261
                                                                    [% FOREACH i IN itemtypes.unique.sort %]
262
                                                                </li>
262
                                                                        <option value="[% i %]">[% ItemTypes.GetDescription( i ) %]</option>
263
                                                            [% END %]
263
                                                                    [%- END %]
264
                                                                </select>
265
                                                            </li>
264
                                                        [% END %]
266
                                                        [% END %]
265
267
266
                                                        [% IF ( OpacHoldNotes ) %]
268
                                                        [% IF ( OpacHoldNotes ) %]
(-)a/opac/opac-reserve.pl (-1 / +1 lines)
Lines 444-449 foreach my $biblioNum (@biblionumbers) { Link Here
444
        $itemLoopIter->{copynumber} = $itemInfo->{copynumber};
444
        $itemLoopIter->{copynumber} = $itemInfo->{copynumber};
445
        if ($itemLevelTypes) {
445
        if ($itemLevelTypes) {
446
            $itemLoopIter->{translated_description} = $itemInfo->{translated_description};
446
            $itemLoopIter->{translated_description} = $itemInfo->{translated_description};
447
            $itemLoopIter->{itype} = $itemInfo->{itype};
447
            $itemLoopIter->{imageurl} = $itemInfo->{imageurl};
448
            $itemLoopIter->{imageurl} = $itemInfo->{imageurl};
448
        }
449
        }
449
450
450
- 

Return to bug 15533