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

Return to bug 33335