Solves vuex mutation warning after previous commit.
This commit is contained in:
parent
0b0cdf0a45
commit
eb78a8f3b9
|
@ -14,11 +14,11 @@ export const fetchItems = ({ rootGetters, dispatch, commit }, { collectionId, is
|
||||||
hasFiltered = true;
|
hasFiltered = true;
|
||||||
|
|
||||||
// Garanttees at least empty fetch_only are passed in case none is found
|
// Garanttees at least empty fetch_only are passed in case none is found
|
||||||
if (qs.stringify(postQueries.fetch_only) == '')
|
if (qs.stringify(postQueries.fetch_only) == '')
|
||||||
postQueries.fetch_only = {};
|
dispatch('search/add_fetchonly', {} , { root: true });
|
||||||
|
|
||||||
if (qs.stringify(postQueries.fetch_only['meta']) == '')
|
if (qs.stringify(postQueries.fetch_only['meta']) == '')
|
||||||
postQueries.fetch_only['meta'] = [0];
|
dispatch('search/add_fetchonly_meta', 0 , { root: true });
|
||||||
|
|
||||||
// Differentiates between repository level and collection level queries
|
// Differentiates between repository level and collection level queries
|
||||||
let endpoint = '/collection/'+collectionId+'/items?'
|
let endpoint = '/collection/'+collectionId+'/items?'
|
||||||
|
|
Loading…
Reference in New Issue