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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc (-1 / +8 lines)
Lines 24-29 function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) { Link Here
24
    });
24
    });
25
25
26
    var exportColumns = ":visible:not(.noExport)";
26
    var exportColumns = ":visible:not(.noExport)";
27
    var exportRows = ":visible:not(.noExport)";
27
    if( dt_parameters.hasOwnProperty("exportColumns") ){
28
    if( dt_parameters.hasOwnProperty("exportColumns") ){
28
        // A custom buttons configuration has been passed from the page
29
        // A custom buttons configuration has been passed from the page
29
        exportColumns = dt_parameters["exportColumns"];
30
        exportColumns = dt_parameters["exportColumns"];
Lines 62-67 function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) { Link Here
62
            text: _("CSV"),
63
            text: _("CSV"),
63
            exportOptions: {
64
            exportOptions: {
64
                columns: exportColumns,
65
                columns: exportColumns,
66
                rows: exportRows,
65
                format:  export_format
67
                format:  export_format
66
            },
68
            },
67
        },
69
        },
Lines 70-75 function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) { Link Here
70
            text: _("Copy"),
72
            text: _("Copy"),
71
            exportOptions: {
73
            exportOptions: {
72
                columns: exportColumns,
74
                columns: exportColumns,
75
                rows: exportRows,
73
                format:  export_format
76
                format:  export_format
74
            },
77
            },
75
        },
78
        },
Lines 78-83 function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) { Link Here
78
            text: _("Print"),
81
            text: _("Print"),
79
            exportOptions: {
82
            exportOptions: {
80
                columns: exportColumns,
83
                columns: exportColumns,
84
                rows: exportRows,
81
                format:  export_format
85
                format:  export_format
82
            },
86
            },
83
        }
87
        }
Lines 90-95 function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) { Link Here
90
                text: _("Excel"),
94
                text: _("Excel"),
91
                exportOptions: {
95
                exportOptions: {
92
                    columns: exportColumns,
96
                    columns: exportColumns,
97
                    rows: exportRows,
93
                    format:  export_format
98
                    format:  export_format
94
                },
99
                },
95
            }
100
            }
Lines 101-106 function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) { Link Here
101
                text: _("Excel"),
106
                text: _("Excel"),
102
                exportOptions: {
107
                exportOptions: {
103
                    columns: exportColumns,
108
                    columns: exportColumns,
109
                    rows: exportRows,
104
                    format:  export_numeric
110
                    format:  export_numeric
105
                },
111
                },
106
            }
112
            }
Lines 131-137 function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) { Link Here
131
                titleAttr: _("Columns settings"),
137
                titleAttr: _("Columns settings"),
132
                text: '<i class="fa fa-lg fa-gear"></i> <span class="dt-button-text">' + _("Columns") + '</span>',
138
                text: '<i class="fa fa-lg fa-gear"></i> <span class="dt-button-text">' + _("Columns") + '</span>',
133
                exportOptions: {
139
                exportOptions: {
134
                    columns: exportColumns
140
                    columns: exportColumns,
141
                    rows: exportRows,
135
                }
142
                }
136
            }
143
            }
137
        );
144
        );
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-2 / +1 lines)
Lines 380-386 Link Here
380
                        [% END %]
380
                        [% END %]
381
                    [% END %]
381
                    [% END %]
382
                [% END %]
382
                [% END %]
383
                <tr id="edit_row">
383
                <tr class="noExport" id="edit_row">
384
                    <td>2</td>
384
                    <td>2</td>
385
                    <td>
385
                    <td>
386
                        <select name="categorycode" id="categorycode">
386
                        <select name="categorycode" id="categorycode">
387
- 

Return to bug 18392