diff --git a/pages/busqueda.vue b/pages/busqueda.vue index 1b45ad7..40193f6 100644 --- a/pages/busqueda.vue +++ b/pages/busqueda.vue @@ -146,9 +146,9 @@ export default { watch: { '$route.query'(newValue) { - console.log('New Value:', newValue) - console.log('Route changed:', this.$route.fullPath) - console.log('Current params:', this.$route.query) + //console.log('New Value:', newValue) + //console.log('Route changed:', this.$route.fullPath) + //console.log('Current params:', this.$route.query) this.updateData(newValue) Object.assign(this.$data, this.$options.data()) @@ -259,10 +259,11 @@ export default { }, async updateData(value) { - console.log('updateData called with:', value) + //console.log('updateData called with:', value) const filters = { q: this.appliedFilters.q } const query = Object.keys(value).length === 0 ? { ...filters } : { ...value, ...filters } + //console.log('Navigating to busqueda with query:', query) this.$router.push({ name: 'busqueda', query }) const config = useRuntimeConfig()