Add history on server side
Add ability to disable, clear and list user videos history
This commit is contained in:
parent
583cd0d212
commit
8b9a525a18
19 changed files with 385 additions and 29 deletions
|
@ -29,7 +29,7 @@ function getVideoSort (value: string, lastSort: string[] = [ 'id', 'ASC' ]) {
|
|||
]
|
||||
}
|
||||
|
||||
return [ [ field, direction ], lastSort ]
|
||||
return [ field.split('.').concat([ direction ]), lastSort ]
|
||||
}
|
||||
|
||||
function getSortOnModel (model: any, value: string, lastSort: string[] = [ 'id', 'ASC' ]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue