MAINT: Grab all species records in lookups (#78)
This commit is contained in:
parent
a32d147c1c
commit
467a8d8b64
3 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ export default Route.extend({
|
|||
studyLocationOptions: store.findAll('study-location'),
|
||||
collectionTypeOptions: store.findAll('collection-type'),
|
||||
collectionMethodOptions: store.findAll('collection-method'),
|
||||
speciesOptions: store.findAll('species'),
|
||||
speciesOptions: store.query('species', { page_size: 500 }),
|
||||
adfgPermitOptions: store.findAll('adfg-permit'),
|
||||
sexOptions: store.findAll('sex'),
|
||||
});
|
||||
|
|
|
@ -11,7 +11,7 @@ export default Route.extend({
|
|||
studyLocationOptions: store.findAll('study-location'),
|
||||
collectionTypeOptions: store.findAll('collection-type'),
|
||||
collectionMethodOptions: store.findAll('collection-method'),
|
||||
speciesOptions: store.findAll('species'),
|
||||
speciesOptions: store.query('species', { page_size: 500 }),
|
||||
adfgPermitOptions: store.findAll('adfg-permit'),
|
||||
sexOptions: store.findAll('sex'),
|
||||
});
|
||||
|
|
|
@ -32,7 +32,7 @@ export default Route.extend({
|
|||
studyLocationOptions: store.findAll('study-location'),
|
||||
collectionMethodOptions: store.findAll('collection-method'),
|
||||
adfgPermitOptions: store.findAll('adfg-permit'),
|
||||
speciesOptions: store.findAll('species'),
|
||||
speciesOptions: store.query('species', { page_size: 500 }),
|
||||
model: store.query('collection', Object.assign(params, opts)),
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue