Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Clean zoom when performing an advanced search (#2657)
Browse files Browse the repository at this point in the history
  • Loading branch information
elsiosanchez authored Sep 19, 2024
1 parent 84749af commit 33844b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ADempiere/TabManager/AdvancedTabQuery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@ export default defineComponent({
const query = Object.assign({}, root.$route.query)
if (!isEmptyValue(query) && !isEmptyValue(query.filters)) {
delete query.filters
router.replace({ query })
}

isLoadingSearch.value = true
Expand All @@ -362,6 +361,7 @@ export default defineComponent({
isAdvancedQuery: true
})
.finally(() => {
router.replace({ query: {}})
isLoadingSearch.value = false
})
isShowedAdvancedQuery.value = false
Expand Down

0 comments on commit 33844b6

Please sign in to comment.