diff --git a/dist/jquery.bootgrid.css b/dist/jquery.bootgrid.css index d7011f7..c845a01 100644 --- a/dist/jquery.bootgrid.css +++ b/dist/jquery.bootgrid.css @@ -1,6 +1,6 @@ /*! - * jQuery Bootgrid v1.4.2 - 12/20/2016 - * Copyright (c) 2014-2016 Rafael Staib (http://www.jquery-bootgrid.com) + * jQuery Bootgrid v1.4.2 - 01/10/2017 + * Copyright (c) 2014-2017 Rafael Staib (http://www.jquery-bootgrid.com) * Licensed under MIT http://www.opensource.org/licenses/MIT */ .bootgrid-header, diff --git a/dist/jquery.bootgrid.fa.js b/dist/jquery.bootgrid.fa.js index 13ea238..26f317b 100644 --- a/dist/jquery.bootgrid.fa.js +++ b/dist/jquery.bootgrid.fa.js @@ -1,6 +1,6 @@ /*! - * jQuery Bootgrid v1.4.2 - 12/20/2016 - * Copyright (c) 2014-2016 Rafael Staib (http://www.jquery-bootgrid.com) + * jQuery Bootgrid v1.4.2 - 01/10/2017 + * Copyright (c) 2014-2017 Rafael Staib (http://www.jquery-bootgrid.com) * Licensed under MIT http://www.opensource.org/licenses/MIT */ ;(function ($, window, undefined) diff --git a/dist/jquery.bootgrid.js b/dist/jquery.bootgrid.js index ed7112f..e012c2c 100644 --- a/dist/jquery.bootgrid.js +++ b/dist/jquery.bootgrid.js @@ -1,6 +1,6 @@ /*! - * jQuery Bootgrid v1.4.2 - 12/20/2016 - * Copyright (c) 2014-2016 Rafael Staib (http://www.jquery-bootgrid.com) + * jQuery Bootgrid v1.4.2 - 01/10/2017 + * Copyright (c) 2014-2017 Rafael Staib (http://www.jquery-bootgrid.com) * Licensed under MIT http://www.opensource.org/licenses/MIT */ ;(function ($, window, undefined) @@ -908,7 +908,7 @@ function sortRows() { } catch (e) {} } - if (that.options.caseSensitive) { + if (!that.options.caseSensitive) { a = $.type(a) === 'string' ? a.toLowerCase() : a; b = $.type(b) === 'string' ? b.toLowerCase() : b; } diff --git a/src/internal.js b/src/internal.js index ad0bbb6..7d37bcd 100644 --- a/src/internal.js +++ b/src/internal.js @@ -898,7 +898,7 @@ function sortRows() { } catch (e) {} } - if (that.options.caseSensitive) { + if (!that.options.caseSensitive) { a = $.type(a) === 'string' ? a.toLowerCase() : a; b = $.type(b) === 'string' ? b.toLowerCase() : b; }