@@ -175,11 +175,11 @@ issueList.SortingView = Backbone.View.extend({
175
175
events : { } ,
176
176
initialize : function ( ) {
177
177
this . paginationModel = new Backbone . Model ( {
178
- dropdownTitle : "Show 25 " ,
178
+ dropdownTitle : "Show 50 " ,
179
179
dropdownOptions : [
180
- { title : "Show 25" , params : "" } ,
181
- { title : "Show 50" , params : "" } ,
182
- { title : "Show 100" , params : "" }
180
+ { title : "Show 25" , params : "per_page=25 " } ,
181
+ { title : "Show 50" , params : "per_page=50 " } ,
182
+ { title : "Show 100" , params : "per_page=100 " }
183
183
]
184
184
} ) ;
185
185
@@ -196,19 +196,19 @@ issueList.SortingView = Backbone.View.extend({
196
196
this . initSubViews ( ) ;
197
197
} ,
198
198
initSubViews : function ( ) {
199
- /* Commenting out for now, see Issues #312, #266
200
199
this . paginationDropdown = new issueList . DropdownView ( {
201
200
model : this . paginationModel
202
201
} ) ;
202
+ /* Commenting out for now, see Issues #312, #266
203
203
this.sortDropdown = new issueList.DropdownView({
204
204
model: this.sortModel
205
205
}); */
206
206
} ,
207
207
template : _ . template ( $ ( '#issuelist-sorting-tmpl' ) . html ( ) ) ,
208
208
render : function ( ) {
209
209
this . $el . html ( this . template ( ) ) ;
210
- /* Commenting out for now, see Issues #312, #266
211
210
this . paginationDropdown . setElement ( this . $el . find ( '.js-dropdown-pagination' ) ) . render ( ) ;
211
+ /* Commenting out for now, see Issues #312, #266
212
212
this.sortDropdown.setElement(this.$el.find('.js-dropdown-sort')).render(); */
213
213
return this ;
214
214
}
0 commit comments