diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/client/modules/biggan/biggan.actions.js | 2 | ||||
| -rw-r--r-- | app/client/util/sort.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/client/modules/biggan/biggan.actions.js b/app/client/modules/biggan/biggan.actions.js index cc4211d..3f252a4 100644 --- a/app/client/modules/biggan/biggan.actions.js +++ b/app/client/modules/biggan/biggan.actions.js @@ -190,7 +190,7 @@ export const load_results = (id) => (dispatch) => { export const load_encodings = () => dispatch => { const module = bigganModule.name util.allProgress([ - actions.folder.index({ module }), + actions.folder.index({ module, limit: 1000 }), actions.file.index({ module, datatype: 'image', diff --git a/app/client/util/sort.js b/app/client/util/sort.js index c5e3a37..fc6219e 100644 --- a/app/client/util/sort.js +++ b/app/client/util/sort.js @@ -29,6 +29,7 @@ export const orderByFn = (s='name asc') => { case 'priority': mapFn = a => [parseInt(a.priority) || parseInt(a.id) || 1000, a] sortFn = numericSort[direction] + break case 'name': default: mapFn = a => [a.name || "", a] |
