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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/concerns.tt (-2 / +14 lines)
Lines 39-45 Link Here
39
39
40
                    <h1>Concerns</h1>
40
                    <h1>Concerns</h1>
41
41
42
                    <div class="table_concerns_table_controls"></div>
42
                    <fieldset class="action" style="cursor:pointer;">
43
                        <a id="hideResolved"><i class="fa fa-minus-square"></i> Hide resolved</a>
44
                        | <a id="showAll"><i class="fa fa-bars"></i> Show all</a>
45
                    </fieldset>
46
43
                    <table id="table_concerns">
47
                    <table id="table_concerns">
44
                        <thead>
48
                        <thead>
45
                            <tr>
49
                            <tr>
Lines 180-185 Link Here
180
                ]
184
                ]
181
            });
185
            });
182
186
187
            $('#hideResolved').on( "click", function() {
188
                // It would be great if we could pass null here but it gets stringified
189
                concerns.DataTable().columns('3').search('special:undefined').draw();
190
            });
191
192
            $('#showAll').on( "click", function() {
193
                concerns.DataTable().columns('3').search('').draw();
194
            });
195
183
            $('#table_concerns').on( "click", '.resolve_concern', function () {
196
            $('#table_concerns').on( "click", '.resolve_concern', function () {
184
                var concern_id   = decodeURIComponent($(this).data('concern-id'));
197
                var concern_id   = decodeURIComponent($(this).data('concern-id'));
185
198
186
- 

Return to bug 31028