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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt (-40 / +8 lines)
Lines 125-139 Link Here
125
  [% IF q.size %]
125
  [% IF q.size %]
126
    [% size = q.size - 1 %]
126
    [% size = q.size - 1 %]
127
    [% FOREACH i IN [0 .. size] %]
127
    [% FOREACH i IN [0 .. size] %]
128
      [%
128
      [% params = { f => f.$i q = q.$i op = op.$i } %]
129
        params = {
129
      [% IF i > 0 %] [% j = i - 1 %]
130
          f => f.$i
131
          q = q.$i
132
          op = op.$i
133
        }
134
      %]
135
      [% IF i > 0 %]
136
        [% j = i - 1 %]
137
        [% params.c = c.$j %]
130
        [% params.c = c.$j %]
138
      [% END %]
131
      [% END %]
139
      [% INCLUDE form_field_select_text params=params %]
132
      [% INCLUDE form_field_select_text params=params %]
Lines 417-457 Link Here
417
              </fieldset>
410
              </fieldset>
418
          </div>
411
          </div>
419
          <fieldset>
412
          <fieldset>
420
            [% INCLUDE form_field_select
413
            [% INCLUDE form_field_select name="homebranch" options = branches empty_option = "All libraries" %]
421
              name="homebranch"
414
            [% INCLUDE form_field_select name="holdingbranch" options = branches empty_option = "All libraries" %]
422
              options = branches
423
              empty_option = "All libraries"
424
            %]
425
            [% INCLUDE form_field_select
426
              name="holdingbranch"
427
              options = branches
428
              empty_option = "All libraries"
429
            %]
430
            [% IF locations.size %]
415
            [% IF locations.size %]
431
                [% INCLUDE form_field_select
416
                [% INCLUDE form_field_select name="location" options = locations empty_option = "All locations" %]
432
                  name="location"
433
                  options = locations
434
                  empty_option = "All locations"
435
                %]
436
            [% END %]
417
            [% END %]
437
          </fieldset>
418
          </fieldset>
438
          <fieldset>
419
          <fieldset>
439
            [% INCLUDE form_field_select
420
            [% INCLUDE form_field_select name="itype" options = itemtypes empty_option = "All item types" %]
440
              name="itype"
421
            [% INCLUDE form_field_select name="ccode" options = ccodes empty_option = "All collection codes" %]
441
              options = itemtypes
442
              empty_option = "All item types"
443
            %]
444
            [% INCLUDE form_field_select
445
              name="ccode"
446
              options = ccodes
447
              empty_option = "All collection codes"
448
            %]
449
            [% IF notforloans.size %]
422
            [% IF notforloans.size %]
450
                [% INCLUDE form_field_select
423
                [% INCLUDE form_field_select name="notforloan" options = notforloans empty_option = "All statuses" %]
451
                  name="notforloan"
452
                  options = notforloans
453
                  empty_option = "All statuses"
454
                %]
455
            [% END %]
424
            [% END %]
456
          </fieldset>
425
          </fieldset>
457
          <fieldset>
426
          <fieldset>
458
- 

Return to bug 18654