You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Plugins/sorting/signed-num.min.mjs

2 lines
227 B
JavaScript

/*! © SpryMedia Ltd - datatables.net/license */
import $ from"jquery";import DataTable from"datatables.net";DataTable.ext.order["signed-num-pre"]=function(e){return"-"==e||""===e?0:+e.replace("+","")};export default DataTable;