Lines 2-7
Link Here
|
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
3 |
[% USE Koha %] |
3 |
[% USE Koha %] |
4 |
[% USE KohaDates %] |
4 |
[% USE KohaDates %] |
|
|
5 |
[% USE TablesSettings %] |
5 |
[% SET footerjs = 1 %] |
6 |
[% SET footerjs = 1 %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
<title> |
8 |
<title> |
Lines 500-511
Link Here
|
500 |
|
501 |
|
501 |
[% IF op == 'view' %] |
502 |
[% IF op == 'view' %] |
502 |
[% Asset.js("lib/hc-sticky.js") | $raw %] |
503 |
[% Asset.js("lib/hc-sticky.js") | $raw %] |
|
|
504 |
[% INCLUDE 'columns_settings.inc' %] |
503 |
[% END %] |
505 |
[% END %] |
504 |
<script> |
506 |
<script> |
505 |
var MSG_NO_ITEM_SELECTED = _("Nothing is selected."); |
507 |
var MSG_NO_ITEM_SELECTED = _("Nothing is selected."); |
506 |
var MSG_REMOVE_FROM_LIST = _("Are you sure you want to remove these items from the list?"); |
508 |
var MSG_REMOVE_FROM_LIST = _("Are you sure you want to remove these items from the list?"); |
507 |
var MSG_CONFIRM_DELETE_LIST = _("Are you sure you want to remove this list?"); |
509 |
var MSG_CONFIRM_DELETE_LIST = _("Are you sure you want to remove this list?"); |
508 |
|
|
|
509 |
[% IF op == 'list' %] |
510 |
[% IF op == 'list' %] |
510 |
$(document).ready(function(){ |
511 |
$(document).ready(function(){ |
511 |
var public = [% public | html %]; |
512 |
var public = [% public | html %]; |
Lines 608-613
Link Here
|
608 |
[% IF shelf AND op == 'view' %] |
609 |
[% IF shelf AND op == 'view' %] |
609 |
var Sticky; |
610 |
var Sticky; |
610 |
$(document).ready(function(){ |
611 |
$(document).ready(function(){ |
|
|
612 |
var column_settings = [% TablesSettings.GetColumns( 'catalogue', 'lists', 'searchresults', 'json' ) | $raw %]; |
613 |
KohaTable("searchresults", { |
614 |
"dom": 'lrt', |
615 |
"sorting": [[ 1, "asc" ]], |
616 |
"autoWidth": false, |
617 |
"asColumnDefs": [ |
618 |
{ "aTargets": [ 1 ], "sType": "nsb-nse" }, |
619 |
] |
620 |
}, column_settings ); |
621 |
|
611 |
Sticky = $("#searchheader"); |
622 |
Sticky = $("#searchheader"); |
612 |
Sticky.hcSticky({ |
623 |
Sticky.hcSticky({ |
613 |
stickTo: "#listform", |
624 |
stickTo: "#listform", |
614 |
- |
|
|