Skip to content

Commit

Permalink
Ignoring case when sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Jun 9, 2015
1 parent 3ee5213 commit 12f57d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/js/controllers/addonCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ angular.module('jboss-forge').controller('addonCtrl', function($scope, $statePar
if (item.tags) {
item.tags.split(',').forEach(
function(tag) {
tags.push(tag.trim());
tags.push(tag.trim().toLowerCase());
}
);
}
Expand Down
2 changes: 1 addition & 1 deletion app/js/controllers/newsCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ angular.module('jboss-forge').controller('newsCtrl', function($rootScope, $scope
data.forEach(function (item) {
item.tags.split(',').forEach(
function(tag) {
tags.push(tag.trim());
tags.push(tag.trim().toLowerCase());
}
);
});
Expand Down

0 comments on commit 12f57d8

Please sign in to comment.