-
+
@@ -278,7 +282,7 @@
this.formErrorMessage = '';
this.editFormErrors = {};
- this.$router.push(this.$routerHelper.getPath());
+ this.$router.push(this.$routerHelper.getTaxonomiesPath());
})
.catch((errors) => {
for (let error of errors.errors) {
@@ -350,7 +354,7 @@
this.editFormErrors[attribute] = undefined;
},
cancelBack(){
- this.$router.push(this.$routerHelper.getPath());
+ this.$router.go(-1);
},
labelNewTerms(){
return ( this.form.allowInsert === 'yes' ) ? this.$i18n.get('label_yes') : this.$i18n.get('label_no');
diff --git a/src/admin/components/lists/events-list.vue b/src/admin/components/lists/events-list.vue
index 23e81031d..8f7ad2cb6 100644
--- a/src/admin/components/lists/events-list.vue
+++ b/src/admin/components/lists/events-list.vue
@@ -144,7 +144,10 @@
// this.notApprove(eventId);
// },
goToEventPage(eventId) {
- this.$router.push(this.$routerHelper.getEventPath(eventId));
+ if (this.$route.params.collectionId == undefined)
+ this.$router.push(this.$routerHelper.getEventPath(eventId));
+ else
+ this.$router.push(this.$routerHelper.getCollectionEventPath(this.$route.params.collectionId, eventId));
}
}
}
diff --git a/src/admin/components/lists/filters-list.vue b/src/admin/components/lists/filters-list.vue
index f7e099ac3..3f52b86f3 100644
--- a/src/admin/components/lists/filters-list.vue
+++ b/src/admin/components/lists/filters-list.vue
@@ -215,7 +215,7 @@ export default {
openedFilterId: '',
formWithErrors: '',
editForms: {},
- allowedFilterTypes: [],
+ allowedFilterTypes: [],
selectedFilterType: {},
choosenMetadatum: {},
newIndex: 0,
@@ -451,10 +451,12 @@ export default {
delete this.editForms[this.openedFilterId];
this.openedFilterId = '';
}
-
},
mounted() {
+ if (!this.isRepositoryLevel)
+ this.$root.$emit('onCollectionBreadCrumbUpdate', [{ path: '', label: this.$i18n.get('filter') }]);
+
this.isRepositoryLevel = this.$route.name == 'FiltersPage' ? true : false;
if (this.isRepositoryLevel)
this.collectionId = 'default';
diff --git a/src/admin/components/lists/metadata-list.vue b/src/admin/components/lists/metadata-list.vue
index 4b48fe608..1738212cf 100644
--- a/src/admin/components/lists/metadata-list.vue
+++ b/src/admin/components/lists/metadata-list.vue
@@ -760,6 +760,10 @@ export default {
}
},
mounted() {
+
+ if (!this.isRepositoryLevel)
+ this.$root.$emit('onCollectionBreadCrumbUpdate', [{ path: '', label: this.$i18n.get('metadata') }]);
+
this.cleanMetadata();
this.isLoadingMetadatumTypes = true;
this.isLoadingMetadata = true;
diff --git a/src/admin/components/navigation/tainacan-collection-subheader.vue b/src/admin/components/navigation/tainacan-collection-subheader.vue
index b68d1fcc9..afcbde42a 100644
--- a/src/admin/components/navigation/tainacan-collection-subheader.vue
+++ b/src/admin/components/navigation/tainacan-collection-subheader.vue
@@ -27,19 +27,22 @@
@@ -137,7 +140,7 @@