diff --git a/src/components/ui/VnFilterPanel.vue b/src/components/ui/VnFilterPanel.vue index e9993c4df..b93ca7121 100644 --- a/src/components/ui/VnFilterPanel.vue +++ b/src/components/ui/VnFilterPanel.vue @@ -112,7 +112,6 @@ async function search(evt) { isLoading.value = true; const filter = { ...userParams.value }; store.userParamsChanged = true; - console.log('userParams.value: ', userParams.value); const { params: newParams } = await arrayData.addFilter({ params: userParams.value }); userParams.value = newParams; diff --git a/src/composables/useArrayData.js b/src/composables/useArrayData.js index 4e76d03f2..17f09bf2f 100644 --- a/src/composables/useArrayData.js +++ b/src/composables/useArrayData.js @@ -74,10 +74,8 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) { }; let exprFilter; - console.log('AQUIII: ', typeof store.userParams, store.userParams); let userParams = { ...store.userParams }; - console.log('AQUIII: ', typeof userParams, userParams); if (store?.exprBuilder) { const where = buildFilter(userParams, (param, value) => { @@ -96,7 +94,6 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) { filter.where = where; const params = { filter }; - console.log('AQUIII: ', typeof userParams, userParams); Object.assign(params, userParams); params.filter.skip = store.skip; @@ -157,18 +154,13 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) { } async function addFilter({ filter, params }) { - console.log('addFilter params: ', params); if (filter) store.filter = filter; - console.log('addFilter: ', store.userParams); let userParams = { ...store.userParams, ...params }; - console.log('addFilter 2: ', userParams, store.userParams); userParams = sanitizerParams(userParams, store?.exprBuilder); - console.log('addFilter 2.5: ', userParams); store.userParams = userParams; - console.log('addFilter: 3', store.userParams); arrayDataStore.reset(['skip', 'filter.skip', 'page']); await fetch({ append: false }); @@ -184,7 +176,6 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) { function sanitizerParams(params, exprBuilder) { for (const param in params) { - console.log('param: ', param); if (params[param] === '' || params[param] === null) { delete store.userParams[param]; delete params[param];