Supplier main board section selector
This commit is contained in:
@@ -11,9 +11,10 @@ Qsupplier.App.IndexRoute = Ember.Route.extend
|
||||
# use filter to create a scope on all the records
|
||||
lists: @store.filter 'list', -> true
|
||||
orders: @store.filter 'order', -> true
|
||||
sections: @store.find 'section'
|
||||
setupController: (controller, model)->
|
||||
controller.set('model', model)
|
||||
$('#section_selector').on 'change', (-> controller.set('sectionId', $(this).val()))
|
||||
#$('#section_selector').on 'change', (-> controller.set('sectionId', $(this).val()))
|
||||
#controller.set 'lists', @store.all('list')
|
||||
#controller.set 'lists', Qsupplier.App.List.all() #.filterProperty('state', 'active')
|
||||
#controller.set 'orders', Qsupplier.App.Order.all()
|
||||
|
||||
Reference in New Issue
Block a user