From 8cbcad5f81215c899a5e5e393e72d662b8377551 Mon Sep 17 00:00:00 2001 From: rakcsle Date: Tue, 20 Apr 2021 11:36:29 -0700 Subject: [PATCH] Ordenamiento de tablas, JS --- Scripts/custom.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Scripts/custom.js b/Scripts/custom.js index 28dd940bc..5c66f6c4f 100644 --- a/Scripts/custom.js +++ b/Scripts/custom.js @@ -1667,18 +1667,18 @@ function loadsortadscroll() { mapped.sort(function (a, b) { return (+(a.value > b.value) || +(a.value === b.value) - 1) * multiplicador; }); - tthis.closest('tr').find('th').data('tipodato', 'string') + //tthis.closest('tr').find('th').data('tipodato', 'string') } else { if (tipodate == 1) { mapped.sort(function (a, b) { return (+(a.valued > b.valued) || +(a.valued === b.valued) - 1) * multiplicador; }); - tthis.closest('tr').find('th').data('tipodato', 'date') + //tthis.closest('tr').find('th').data('tipodato', 'date') } else { mapped.sort(function (a, b) { return (+(a.valuen > b.valuen) || +(a.valuen === b.valuen) - 1) * multiplicador; }); - tthis.closest('tr').find('th').data('tipodato', 'numeric') + //tthis.closest('tr').find('th').data('tipodato', 'numeric') } } mapped.each(function (i, el) {