Skip to content

Commit

Permalink
Issue 482 - make facet sort case insensitive
Browse files Browse the repository at this point in the history
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2371 7d457c2a-affb-35e4-300a-418c747d4874
  • Loading branch information
tfmorris committed Nov 12, 2011
1 parent 75f4c97 commit c992ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/webapp/modules/core/scripts/facets/list-facet.js
Expand Up @@ -131,7 +131,7 @@ ListFacet.prototype.updateState = function(data) {
ListFacet.prototype._reSortChoices = function() {
this._data.choices.sort(this._options.sort == "name" ?
function(a, b) {
return a.v.l.localeCompare(b.v.l);
return a.v.l.toLowerCase().localeCompare(b.v.l.toLowerCase());
} :
function(a, b) {
var c = b.c - a.c;
Expand Down

0 comments on commit c992ed9

Please sign in to comment.