feat: auth self-registration config + gql grouping
This commit is contained in:
1 parent
49834461a6
commit
0afa65fa58
39 files changed
+104
-50
No files matched your search
@@ -24,7 +24,7 @@ module.exports = {
|
||||
return arr.filter(prvFilter.test)
|
||||
},
|
||||
orderBy (arr, orderString) {
|
||||
let orderParams = _.zip(orderString.split(',').map(ord => _.trim(ord).split(' ').map(_.trim)))
|
||||
let orderParams = _.zip(...orderString.split(',').map(ord => _.trim(ord).split(' ').map(_.trim)))
|
||||
return _.orderBy(arr, orderParams[0], orderParams[1])
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user