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 453-460 Link Here
453
          }
453
          }
454
        });
454
        });
455
455
456
        var $category = {};
457
458
        [% FOR categorycode IN categorycodes %]
459
            $category["[% categorycode.categorycode %]"] = "[% categorycode.description | html %]";
460
        [% END %]
461
456
        var module_filter_options = {
462
        var module_filter_options = {
457
          source: {
463
        source: {
458
            '*': '*',
464
            '*': '*',
459
            batchmod: _("Batch record modification"),
465
            batchmod: _("Batch record modification"),
460
            intranet: _("Staff client MARC editor"),
466
            intranet: _("Staff client MARC editor"),
Lines 462-474 Link Here
462
            z3950: _("Z39.50"),
468
            z3950: _("Z39.50"),
463
            /* bulkmarcimport: _("bulkmarcimport.pl"), */
469
            /* bulkmarcimport: _("bulkmarcimport.pl"), */
464
            import_lexile: _("import_lexile.pl")
470
            import_lexile: _("import_lexile.pl")
465
          },
471
        },
466
          categorycode: {
472
467
            '*': '*',
473
        categorycode: $category
468
            [% FOREACH categorycode IN categorycodes %]
469
              [% categorycode.categorycode | html %]: "[% categorycode.description | html %]",
470
            [% END %]
471
          }
472
        };
474
        };
473
475
474
        //Kind of hack: Replace filter value with label when one exist
476
        //Kind of hack: Replace filter value with label when one exist
475
- 

Return to bug 33335