|
Lines 497-512
Link Here
|
| 497 |
categories.unshift({ categorycode: '*', description: '*'}); |
497 |
categories.unshift({ categorycode: '*', description: '*'}); |
| 498 |
categories = categories.reduce( ( a,c ) => ( { ...a, [c.categorycode]: c.description } ), {} ); |
498 |
categories = categories.reduce( ( a,c ) => ( { ...a, [c.categorycode]: c.description } ), {} ); |
| 499 |
|
499 |
|
| 500 |
var module_filter_options = { |
500 |
var module_filter_options = { |
| 501 |
source: { |
501 |
source: { |
| 502 |
'*': '*', |
502 |
'*': '*', |
| 503 |
batchmod: _("Batch record modification"), |
503 |
[% FOREACH record_source IN record_sources %] |
| 504 |
intranet: _("Staff interface MARC editor"), |
504 |
[% SWITCH record_source %] |
| 505 |
batchimport: _("Staged MARC import"), |
505 |
[% CASE 'batchmod' %]'[% record_source %]': _("Batch record modification"), |
| 506 |
z3950: _("Z39.50"), |
506 |
[% CASE 'intranet' %]'[% record_source %]':_("Staff interface MARC editor"), |
| 507 |
bulkmarcimport: _("bulkmarcimport.pl"), |
507 |
[% CASE 'batchimport' %]'[% record_source %]': _("Staged MARC import"), |
| 508 |
import_lexile: _("import_lexile.pl") |
508 |
[% CASE 'z3950' %]'[% record_source %]': _("Z39.50"), |
| 509 |
}, |
509 |
[% CASE 'bulkmarkimport' %]'[% record_source %]': _("bulkmarcimport.pl"), |
|
|
510 |
[% CASE 'import_lexile' %]'[% record_source %]': _("import_lexile.pl"), |
| 511 |
[% CASE %] '[% record_source %]' : '[% record_source | html %]', |
| 512 |
[% END %] |
| 513 |
[% END %] |
| 514 |
}, |
| 510 |
|
515 |
|
| 511 |
categorycode: categories, |
516 |
categorycode: categories, |
| 512 |
}; |
517 |
}; |
| 513 |
- |
|
|