From 16669e6bbfe0baded92be01ad18f1b832bcd57b0 Mon Sep 17 00:00:00 2001 From: Joachim Tingvold Date: Sun, 15 Sep 2019 15:28:47 +0200 Subject: [PATCH] Add natural sort library, so that natural sort works again. --- app/assets.py | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets.py b/app/assets.py index 06cfa37..8f76086 100644 --- a/app/assets.py +++ b/app/assets.py @@ -60,6 +60,7 @@ js_main = Bundle( 'node_modules/moment/moment.js', 'node_modules/admin-lte/dist/js/adminlte.js', 'node_modules/multiselect/js/jquery.multi-select.js', + 'node_modules/datatables.net-plugins/sorting/natural.js', 'custom/js/custom.js', filters=(ConcatFilter, 'jsmin'), output='generated/main.js' diff --git a/package.json b/package.json index 319c741..d5bf222 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "icheck": "^1.0.2", "jquery-slimscroll": "^1.3.8", "jquery-ui-dist": "^1.12.1", - "multiselect": "^0.9.12" + "multiselect": "^0.9.12", + "datatables.net-plugins": "^1.10.19" } }