Browse Source

JS for human readable ordering by Brian Huisman

Christopher Pohl 11 years ago
parent
commit
997a6bc0ca
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/extensions/sorting/bootstrap-table_natural-sorting.js

+ 2 - 0
src/extensions/sorting/bootstrap-table_natural-sorting.js

@@ -1,5 +1,7 @@
 //JS function to allow natural sorting on bootstrap-table columns
 //just add data-sorter="alphanum" to any th
+//Thanks to Brian Huisman: http://www.greywyvern.com
+
 function alphanum(a, b) {
   function chunkify(t) {
     var tz = [], x = 0, y = -1, n = 0, i, j;