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

(-)a/admin/columns_settings.yml (+3 lines)
Lines 116-121 modules: Link Here
116
116
117
    parcel:
117
    parcel:
118
      pending_orders:
118
      pending_orders:
119
        default_save_state_search: 1
119
        columns:
120
        columns:
120
            -
121
            -
121
              columnname: checkbox
122
              columnname: checkbox
Lines 213-218 modules: Link Here
213
214
214
    suggestions:
215
    suggestions:
215
      suggestions:
216
      suggestions:
217
        default_save_state_search: 1
216
        columns:
218
        columns:
217
            -
219
            -
218
              columnname: selections
220
              columnname: selections
Lines 1960-1965 modules: Link Here
1960
      circ-overdues:
1962
      circ-overdues:
1961
        default_display_length: 20
1963
        default_display_length: 20
1962
        default_sort_order: 0
1964
        default_sort_order: 0
1965
        default_save_state_search: 1
1963
        columns:
1966
        columns:
1964
            -
1967
            -
1965
              columnname: due_date
1968
              columnname: due_date
(-)a/installer/data/mysql/atomicupdate/bug_33484.pl (+7 lines)
Lines 13-17 return { Link Here
13
            });
13
            });
14
            say $out "Added column 'tables_settings.default_save_state'";
14
            say $out "Added column 'tables_settings.default_save_state'";
15
        }
15
        }
16
        if ( !column_exists( 'tables_settings', 'default_save_state_search' ) ) {
17
            $dbh->do(q{
18
                ALTER TABLE tables_settings
19
                  ADD COLUMN default_save_state_search tinyint(1) DEFAULT 0 AFTER default_save_state
20
            });
21
            say $out "Added column 'tables_settings.default_save_state_search'";
22
        }
16
    },
23
    },
17
};
24
};
(-)a/installer/data/mysql/kohastructure.sql (+1 lines)
Lines 6239-6244 CREATE TABLE `tables_settings` ( Link Here
6239
  `default_display_length` smallint(6) DEFAULT NULL,
6239
  `default_display_length` smallint(6) DEFAULT NULL,
6240
  `default_sort_order` varchar(255) DEFAULT NULL,
6240
  `default_sort_order` varchar(255) DEFAULT NULL,
6241
  `default_save_state` tinyint(1) DEFAULT 1,
6241
  `default_save_state` tinyint(1) DEFAULT 1,
6242
  `default_save_state_search` tinyint(1) DEFAULT 0,
6242
  PRIMARY KEY (`module`(191),`page`(191),`tablename`(191))
6243
  PRIMARY KEY (`module`(191),`page`(191),`tablename`(191))
6243
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
6244
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
6244
/*!40101 SET character_set_client = @saved_cs_client */;
6245
/*!40101 SET character_set_client = @saved_cs_client */;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt (-2 / +1 lines)
Lines 374-380 Link Here
374
374
375
            if ( $("#receivedt").length ) {
375
            if ( $("#receivedt").length ) {
376
                var receivedt = $("#receivedt").dataTable($.extend(true, {}, dataTablesDefaults, {
376
                var receivedt = $("#receivedt").dataTable($.extend(true, {}, dataTablesDefaults, {
377
                    "stateSave": true,
377
                    "stateSave": true, // We do not have table settings on this table
378
                    "pageLength": 10,
378
                    "pageLength": 10,
379
                    "lengthMenu": [[5, 10, 20, 50, 100, -1], [5, 10, 20, 50, 100, _("All")]],
379
                    "lengthMenu": [[5, 10, 20, 50, 100, -1], [5, 10, 20, 50, 100, _("All")]],
380
                    "columnDefs": [
380
                    "columnDefs": [
Lines 413-419 Link Here
413
                    "current_item_level_holds+count",
413
                    "current_item_level_holds+count",
414
                    "items"
414
                    "items"
415
                ],
415
                ],
416
                "stateSave": true, // remember state on page reload
417
                "columns": [
416
                "columns": [
418
                    { "data": "basket.name",
417
                    { "data": "basket.name",
419
                      "searchable": true,
418
                      "searchable": true,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt (-2 lines)
Lines 339-345 Link Here
339
            KohaTable("overduest", {
339
            KohaTable("overduest", {
340
                "pagingType": "full",
340
                "pagingType": "full",
341
                "autoWidth": false,
341
                "autoWidth": false,
342
                "stateSave": true
343
            }, table_settings);
342
            }, table_settings);
344
343
345
            $("#showall").on("change", function(){
344
            $("#showall").on("change", function(){
346
- 

Return to bug 33484