1
0
Fork 0
forked from 0x2620/oxjs

AnnotationPanel: allow sorting by creation time

fixes #2865
This commit is contained in:
Will Thompson 2015-12-14 12:16:13 +00:00
commit b0853447d1
2 changed files with 4 additions and 2 deletions

View file

@ -520,7 +520,8 @@ Ox.AnnotationFolder = function(options, self) {
return ({
duration: ['-duration', '+in', self.options.type == 'text' ? '+created' : '+value'],
position: ['+in', '+duration', self.options.type == 'text' ? '+created' : '+value'],
text: ['+value', '+in', '+duration']
text: ['+value', '+in', '+duration'],
created: ['+created', '+in', '+duration', '+value']
})[self.options.sort];
}