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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/concerns.tt (-5 / +10 lines)
Lines 64-75 Link Here
64
    [% INCLUDE 'js-date-format.inc' %]
64
    [% INCLUDE 'js-date-format.inc' %]
65
    [% INCLUDE 'js-biblio-format.inc' %]
65
    [% INCLUDE 'js-biblio-format.inc' %]
66
    <script>
66
    <script>
67
        $(document).ready(function() {
67
        logged_in_user_borrowernumber = [% logged_in_user.borrowernumber | html %];
68
69
            logged_in_user_borrowernumber = [% logged_in_user.borrowernumber | html %];
70
68
71
            var table_settings = [% TablesSettings.GetTableSettings('cataloguing', 'concerns', 'table_concerns', 'json') | $raw %];
69
        var table_settings = [% TablesSettings.GetTableSettings('cataloguing', 'concerns', 'table_concerns', 'json') | $raw %];
70
    </script>
72
71
72
    <script>
73
        $(document).ready(function() {
73
            let additional_filters = {
74
            let additional_filters = {
74
                resolved_date: function(){
75
                resolved_date: function(){
75
                    if ( $("#hide_resolved_concerns").is(":checked") ) {
76
                    if ( $("#hide_resolved_concerns").is(":checked") ) {
Lines 230-236 Link Here
230
                tickets.DataTable().draw();
231
                tickets.DataTable().draw();
231
            });
232
            });
232
            adjust_filter_label();
233
            adjust_filter_label();
234
        });
235
    </script>
233
236
237
    <script>
238
        $(document).ready(function() {
234
            [% FOR st IN status %]
239
            [% FOR st IN status %]
235
            $('#[% st.authorised_value | html %]_filter').on("click", function() {
240
            $('#[% st.authorised_value | html %]_filter').on("click", function() {
236
                if ($("#hide_[% st.authorised_value | html %]").is(":checked")){
241
                if ($("#hide_[% st.authorised_value | html %]").is(":checked")){
Lines 257-262 Link Here
257
            [% END %]
262
            [% END %]
258
        });
263
        });
259
    </script>
264
    </script>
265
260
    [% INCLUDE 'select2.inc' %]
266
    [% INCLUDE 'select2.inc' %]
261
    [% Asset.js("js/modals/display_ticket.js") | $raw %]
267
    [% Asset.js("js/modals/display_ticket.js") | $raw %]
262
[% END %]
268
[% END %]
263
- 

Return to bug 41567