Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
repeater-default-filter: Fixes #899 by making the default filter an o…
Browse files Browse the repository at this point in the history
…bject closely resembling what would be passed back by the selectlist if it were there
  • Loading branch information
kevinparkerson committed Dec 3, 2014
1 parent a9ad5ae commit eba1291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/repeater.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@

options = options || {};

opts.filter = (this.$filters.length>0) ? this.$filters.selectlist('selectedItem') : 'all';
opts.filter = (this.$filters.length>0) ? this.$filters.selectlist('selectedItem') : { text: 'All', value: 'all' };
opts.view = this.currentView;

if(!this.infiniteScrollingEnabled){
Expand Down

0 comments on commit eba1291

Please sign in to comment.