summaryrefslogtreecommitdiff
path: root/app/client/util
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-10-13 12:47:51 +0200
committerJules Laplace <julescarbon@gmail.com>2020-10-13 12:47:51 +0200
commit71af3175571d95bbcd045c7fe62021079f570a2e (patch)
tree357c8c0063ccfe868e38b5bff460a1ae8188ed3c /app/client/util
parent075fc434cdbc794607d70df4efcc37d17337d96c (diff)
bump limit
Diffstat (limited to 'app/client/util')
-rw-r--r--app/client/util/sort.js1
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]