sort text bins by create instead of value as 3rd sort value, fixes #995

This commit is contained in:
j 2012-09-18 21:26:53 +02:00
parent 7d4d543ee3
commit 2a7a6da95d

View file

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