diff --git a/backend/webserver/api/datasets.py b/backend/webserver/api/datasets.py index a601adb0..565ec3b7 100644 --- a/backend/webserver/api/datasets.py +++ b/backend/webserver/api/datasets.py @@ -420,7 +420,7 @@ def get(self, dataset_id): # Perform mongodb query images = current_user.images \ .filter(query_build) \ - .order_by(order).only('id', 'file_name', 'annotating', 'annotated', 'num_annotations') + .order_by(order).only('id', 'file_name', 'annotating', 'annotated', 'num_annotations', 'category_ids') total = images.count() pages = int(total/per_page) + 1 diff --git a/client/src/components/annotator/FileTitle.vue b/client/src/components/annotator/FileTitle.vue index 0440611b..a67a3679 100755 --- a/client/src/components/annotator/FileTitle.vue +++ b/client/src/components/annotator/FileTitle.vue @@ -4,13 +4,13 @@ v-show="previousimage != null" class="fa fa-arrow-left image-arrows" style="float:left" - @click="route(previousimage)" + @click="route(previousimage, labelmode)" />