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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt (-9 / +10 lines)
Lines 454-461 Link Here
454
          }
454
          }
455
        });
455
        });
456
456
457
        var $category = {};
458
459
        [% FOR categorycode IN categorycodes %]
460
            $category["[% categorycode.categorycode %]"] = "[% categorycode.description | html %]";
461
        [% END %]
462
457
        var module_filter_options = {
463
        var module_filter_options = {
458
          source: {
464
        source: {
459
            '*': '*',
465
            '*': '*',
460
            batchmod: _("Batch record modification"),
466
            batchmod: _("Batch record modification"),
461
            intranet: _("Staff interface MARC editor"),
467
            intranet: _("Staff interface MARC editor"),
Lines 463-475 Link Here
463
            z3950: _("Z39.50"),
469
            z3950: _("Z39.50"),
464
            /* bulkmarcimport: _("bulkmarcimport.pl"), */
470
            /* bulkmarcimport: _("bulkmarcimport.pl"), */
465
            import_lexile: _("import_lexile.pl")
471
            import_lexile: _("import_lexile.pl")
466
          },
472
        },
467
          categorycode: {
473
468
            '*': '*',
474
        categorycode: $category
469
            [% FOREACH categorycode IN categorycodes %]
470
              [% categorycode.categorycode | html %]: "[% categorycode.description | html %]",
471
            [% END %]
472
          }
473
        };
475
        };
474
476
475
        //Kind of hack: Replace filter value with label when one exist
477
        //Kind of hack: Replace filter value with label when one exist
476
- 

Return to bug 33335