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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/str/table_filters.inc (+4 lines)
Line 0 Link Here
1
<script>
2
    var MSG_DEACTIVATE_FILTERS = _("Deactivate filters");
3
    var MSG_ACTIVATE_FILTERS = _("Activate filters");
4
</script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (+1 lines)
Lines 1000-1005 Link Here
1000
    [% INCLUDE 'browser-strings.inc' %]
1000
    [% INCLUDE 'browser-strings.inc' %]
1001
    [% INCLUDE 'columns_settings.inc' %]
1001
    [% INCLUDE 'columns_settings.inc' %]
1002
    [% Asset.js("js/browser.js") | $raw %]
1002
    [% Asset.js("js/browser.js") | $raw %]
1003
    [% INCLUDE 'str/table_filters.inc' %]
1003
    [% Asset.js("js/table_filters.js") | $raw %]
1004
    [% Asset.js("js/table_filters.js") | $raw %]
1004
    <script>
1005
    <script>
1005
        var browser;
1006
        var browser;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt (+1 lines)
Lines 190-195 Link Here
190
    [% INCLUDE 'datatables.inc' %]
190
    [% INCLUDE 'datatables.inc' %]
191
    [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %]
191
    [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %]
192
    [% INCLUDE 'columns_settings.inc' %]
192
    [% INCLUDE 'columns_settings.inc' %]
193
    [% INCLUDE 'str/table_filters.inc' %]
193
    [% Asset.js("js/table_filters.js") | $raw %]
194
    [% Asset.js("js/table_filters.js") | $raw %]
194
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
195
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
195
    <script>
196
    <script>
(-)a/koha-tmpl/intranet-tmpl/prog/js/table_filters.js (-3 / +2 lines)
Lines 23-29 function activate_filters(id) { Link Here
23
    }
23
    }
24
24
25
    $('#' + id + '_activate_filters')
25
    $('#' + id + '_activate_filters')
26
        .html('<i class="fa fa-filter"></i> ' + _("Deactivate filters") )
26
        .html('<i class="fa fa-filter"></i> ' + MSG_DEACTIVATE_FILTERS )
27
        .unbind('click')
27
        .unbind('click')
28
        .click(function() {
28
        .click(function() {
29
            deactivate_filters(id);
29
            deactivate_filters(id);
Lines 41-47 function deactivate_filters(id) { Link Here
41
    filters_row.hide();
41
    filters_row.hide();
42
42
43
    $('#' + id + '_activate_filters')
43
    $('#' + id + '_activate_filters')
44
        .html('<i class="fa fa-filter"></i> ' + _("Activate filters") )
44
        .html('<i class="fa fa-filter"></i> ' + MSG_ACTIVATE_FILTERS )
45
        .unbind('click')
45
        .unbind('click')
46
        .click(function() {
46
        .click(function() {
47
            activate_filters(id);
47
            activate_filters(id);
48
- 

Return to bug 24046