Fixes option of allow term insertion not appearing on the metadata form.

This commit is contained in:
mateuswetah 2020-09-02 14:25:46 -03:00
parent 452bc53882
commit 0fc49e5e09
1 changed files with 2 additions and 2 deletions

View File

@ -249,7 +249,7 @@
fetchCollections() {
this.loadingCollections = true;
return axios.get('/collections?nopaging=1')
return axios.get('/collections?nopaging=1&context=edit&nopaging=1&fetch_only=name,id,thumbnail')
.then(res => {
this.collections = res.data ? res.data : [];
this.loadingCollections = false;
@ -262,7 +262,7 @@
fetchTaxonomies(){
this.loading = true;
return axios.get('/taxonomies?nopaging=1&order=asc&orderby=title&context=edit&nopaging=1&fetch_only=name,id,thumbnail')
return axios.get('/taxonomies?nopaging=1&order=asc&orderby=title')
.then(res => {
this.taxonomies = res.data ? res.data : [];
this.loading = false;