Bug 41564: Tidy kohaTable - admin/marc-overlay-rules.tt
Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
3d24965157
commit
9124479652
|
|
@ -318,6 +318,10 @@
|
|||
[% MACRO jsinclude BLOCK %]
|
||||
[% Asset.js("js/admin-menu.js") | $raw %]
|
||||
[% INCLUDE 'datatables.inc' %]
|
||||
<script>
|
||||
var categories = [% To.json( categories ) | $raw %];
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
|
||||
|
|
@ -491,7 +495,6 @@
|
|||
}
|
||||
});
|
||||
|
||||
var categories = [% To.json( categories ) | $raw %];
|
||||
// Add * => * to this array of objects, and *reduce* it to one object
|
||||
// Note: This allows displaying a sorted list of categories later, but we still depend on an object!
|
||||
categories.unshift({ categorycode: '*', description: '*'});
|
||||
|
|
|
|||
Loading…
Reference in New Issue