View | Details | Raw Unified | Return to bug 30031
Collapse All | Expand All

(-)a/admin/columns_settings.yml (+18 lines)
Lines 299-304 modules: Link Here
299
              cannot_be_modified: 1
299
              cannot_be_modified: 1
300
300
301
  catalogue:
301
  catalogue:
302
    lists:
303
      searchresults:
304
        columns:
305
            -
306
              columnname: checkbox
307
              cannot_be_toggled: 1
308
              cannot_be_modified: 1
309
            -
310
              columnname: title
311
              cannot_be_toggled: 1
312
              cannot_be_modified: 1
313
            -
314
              columnname: author
315
            -
316
              columnname: date_added
317
            -
318
              columnname: call_number
319
302
    detail:
320
    detail:
303
      holdings_table:
321
      holdings_table:
304
        columns:
322
        columns:
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-2 / +12 lines)
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
- 

Return to bug 30031