Commit 76b0a3da authored by Anton's avatar Anton

Sort annotations on reference date after load in piecemaker.media.annotate_generic

parent 8767632f
...@@ -321,7 +321,8 @@ ...@@ -321,7 +321,8 @@
try { try {
// this.annotations = await this.$store.dispatch('queue/enqueue', // this.annotations = await this.$store.dispatch('queue/enqueue',
// this.$store.dispatch('annotations/find', this.media.body.source.id)) // this.$store.dispatch('annotations/find', this.media.body.source.id))
this.annotations = await this.$store.dispatch('annotations/find', this.media.body.source.id) this.annotations = (await this.$store.dispatch('annotations/find', this.media.body.source.id))
.sort(this.$sort.onRef)
} }
catch (err) { catch (err) {
this.$handleError(this, err, 'errors.list_annotations_failed') this.$handleError(this, err, 'errors.list_annotations_failed')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment