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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt (-3 / +3 lines)
Lines 67-78 Link Here
67
[% END %]
67
[% END %]
68
68
69
<script>
69
<script>
70
let dt_params = {
70
var clubs_dt_params = {
71
    columnDefs: [{ sortable: false, targets: ["NoSort"] }],
71
    columnDefs: [{ sortable: false, targets: ["NoSort"] }],
72
    paginate: true,
72
    paginate: true,
73
};
73
};
74
$("#table_clubnoenrollmemnts").kohaTable(dt_params);
74
$("#table_clubnoenrollmemnts").kohaTable(clubs_dt_params);
75
$("#table_clubenrollments").kohaTable(dt_params);
75
$("#table_clubenrollments").kohaTable(clubs_dt_params);
76
76
77
[% IF CAN_user_clubs_enroll %]
77
[% IF CAN_user_clubs_enroll %]
78
function loadEnrollmentForm( id, enrollent_id = 0 ) {
78
function loadEnrollmentForm( id, enrollent_id = 0 ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/patron-lists-tab.tt (-4 / +3 lines)
Lines 104-115 Link Here
104
[% END %]
104
[% END %]
105
105
106
<script>
106
<script>
107
    let dt_params = {
107
    var patron_lists_dt_params = {
108
        columnDefs: [{ sortable: false, bSearchable: false, targets: ["NoSort"] }],
108
        columnDefs: [{ sortable: false, bSearchable: false, targets: ["NoSort"] }],
109
        sPaginationType: "full",
109
        sPaginationType: "full",
110
    };
110
    };
111
    $("#table_listnopatron").kohaTable(dt_params);
111
    $("#table_listnopatron").kohaTable(patron_lists_dt_params);
112
    $("#table_inlists").kohaTable(dt_params);
112
    $("#table_inlists").kohaTable(patron_lists_dt_params);
113
113
114
    [% IF CAN_user_tools_manage_patron_lists %]
114
    [% IF CAN_user_tools_manage_patron_lists %]
115
        function addToList() {
115
        function addToList() {
116
- 

Return to bug 38255