Skip to content

A free open source IT asset/license management system

remove sorter, didnt work

Godfrey Ma6cb75c481c2
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php
index 687927719c..8ebbc9fb16 100644
--- a/resources/views/partials/bootstrap-table.blade.php
+++ b/resources/views/partials/bootstrap-table.blade.php
@@ -870,17 +870,6 @@
return value.formatted;
}
}
- function createdAtSorter(a, b, rowA, rowB) {
- const CREATED_AT_COL_INDEX = 0;
- const ts = row => Number(row?._$el?.find('td').eq(CREATED_AT_COL_INDEX).attr('data-timestamp') || 0);
- return ts(rowA) - ts(rowB);
- }
-
- function createdAtSorter(a, b, rowA, rowB) {
- const ts = row =>
- Number(row?._$el?.find('td').eq(CREATED_AT_COL_INDEX).attr('data-timestamp') || 0);
- return ts(rowA) - ts(rowB);
- }
function iconFormatter(value) {
if (value) {