Sorting of tasks and nodes in admin panel.
This commit is contained in:
parent
ce2359a094
commit
954b7a3920
7 changed files with 77 additions and 21 deletions
shared/validation
|
@ -61,6 +61,17 @@ angular.module('ffffng').constant('Constraints', {
|
|||
max: 50,
|
||||
optional: true,
|
||||
default: 20
|
||||
},
|
||||
_sortDir: {
|
||||
type: 'enum',
|
||||
allowed: ['ASC', 'DESC'],
|
||||
optional: true,
|
||||
default: 'ASC'
|
||||
},
|
||||
_sortField: {
|
||||
type: 'string',
|
||||
regex: /^[a-zA-Z0-9_]{1,32}$/,
|
||||
optional: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue