Skip to content

Commit

Permalink
option sort configuration should be filter specific
Browse files Browse the repository at this point in the history
  • Loading branch information
pklingem committed Mar 21, 2013
1 parent ee84e04 commit 970d555
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/filters.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion livelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ window.Filters = (function(_super) {
var _this = this;
return _.map(filters, function(filter) {
filter.options = _.sortBy(filter.options, function(option) {
return option[_this.sortOptionsProperty];
return option[_this.optionsSortProperties[filter.filter_slug]];
});
return filter;
});
Expand Down
Loading

0 comments on commit 970d555

Please sign in to comment.