diff options
Diffstat (limited to 'app/client/util/sort.js')
| -rw-r--r-- | app/client/util/sort.js | 1 |
1 files changed, 1 insertions, 0 deletions
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] |
