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 59-70 Link Here
59
    </table>
59
    </table>
60
[% END %]
60
[% END %]
61
<script>
61
<script>
62
    let dt_params = {
62
    var clubs_dt_params = {
63
        columnDefs: [{ sortable: false, targets: ["NoSort"] }],
63
        columnDefs: [{ sortable: false, targets: ["NoSort"] }],
64
        paginate: true,
64
        paginate: true,
65
    };
65
    };
66
    $("#table_clubnoenrollmemnts").kohaTable(dt_params);
66
    $("#table_clubnoenrollmemnts").kohaTable(clubs_dt_params);
67
    $("#table_clubenrollments").kohaTable(dt_params);
67
    $("#table_clubenrollments").kohaTable(clubs_dt_params);
68
68
69
    [% IF CAN_user_clubs_enroll %]
69
    [% IF CAN_user_clubs_enroll %]
70
    function loadEnrollmentForm( id, enrollent_id = 0 ) {
70
    function loadEnrollmentForm( id, enrollent_id = 0 ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/patron-lists-tab.tt (-4 / +3 lines)
Lines 111-122 Link Here
111
    </div>
111
    </div>
112
[% END %]
112
[% END %]
113
<script>
113
<script>
114
    let dt_params = {
114
    var patron_lists_dt_params = {
115
        columnDefs: [{ sortable: false, bSearchable: false, targets: ["NoSort"] }],
115
        columnDefs: [{ sortable: false, bSearchable: false, targets: ["NoSort"] }],
116
        sPaginationType: "full",
116
        sPaginationType: "full",
117
    };
117
    };
118
    $("#table_listnopatron").kohaTable(dt_params);
118
    $("#table_listnopatron").kohaTable(patron_lists_dt_params);
119
    $("#table_inlists").kohaTable(dt_params);
119
    $("#table_inlists").kohaTable(patron_lists_dt_params);
120
120
121
    [% IF CAN_user_tools_manage_patron_lists %]
121
    [% IF CAN_user_tools_manage_patron_lists %]
122
        function addToList() {
122
        function addToList() {
123
- 

Return to bug 38255