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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt (-7 / +12 lines)
Lines 293-299 Link Here
293
          { 'type': 'text' },
293
          { 'type': 'text' },
294
          { 'type': 'select', 'values': [% branches.json %] },
294
          { 'type': 'select', 'values': [% branches.json %] },
295
          { 'type': 'select', 'values': [% branches.json %] },
295
          { 'type': 'select', 'values': [% branches.json %] },
296
          { 'type': 'select', 'values': [% locations.json %] },
296
          [% IF locations.size %]
297
              { 'type': 'select', 'values': [% locations.json %] },
298
          [% ELSE %]
299
              null,
300
          [% END %]
297
          { 'type': 'text' },
301
          { 'type': 'text' },
298
          [% IF notforloans.size %]
302
          [% IF notforloans.size %]
299
              { 'type': 'select', 'values': [% notforloans.json %] },
303
              { 'type': 'select', 'values': [% notforloans.json %] },
Lines 401-411 Link Here
401
              options = branches
405
              options = branches
402
              empty_option = "All libraries"
406
              empty_option = "All libraries"
403
            %]
407
            %]
404
            [% INCLUDE form_field_select
408
            [% IF locations.size %]
405
              name="location"
409
                [% INCLUDE form_field_select
406
              options = locations
410
                  name="location"
407
              empty_option = "All locations"
411
                  options = locations
408
            %]
412
                  empty_option = "All locations"
413
                %]
414
            [% END %]
409
          </fieldset>
415
          </fieldset>
410
          <fieldset>
416
          <fieldset>
411
            [% INCLUDE form_field_select
417
            [% INCLUDE form_field_select
412
- 

Return to bug 18047