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

(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-1 / +1 lines)
Lines 637-642 jQuery.fn.dataTable.ext.errMode = function(settings, note, message) { Link Here
637
                                    order.forEach(function (e,i) {
637
                                    order.forEach(function (e,i) {
638
                                        var order_col      = e.column;
638
                                        var order_col      = e.column;
639
                                        var order_by       = options.columns[order_col].data;
639
                                        var order_by       = options.columns[order_col].data;
640
                                        order_by           = order_by.split(':')[0];
640
                                        var order_dir      = e.dir == 'asc' ? '+' : '-';
641
                                        var order_dir      = e.dir == 'asc' ? '+' : '-';
641
                                        dataSet._order_by = order_dir + (!order_by.includes('.')?'me.'+order_by:order_by);
642
                                        dataSet._order_by = order_dir + (!order_by.includes('.')?'me.'+order_by:order_by);
642
                                    });
643
                                    });
643
- 

Return to bug 27680