Bug 33066: Fix default_search

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>

Signed-off-by: Agustín Moyano <agustinmoyano@theke.io>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2023-03-07 16:26:43 +01:00 committed by Tomas Cohen Arazi
parent de3f1d1f88
commit 9725551aca
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 1 additions and 5 deletions

View File

@ -45,7 +45,7 @@ export default {
..._dt_default_ajax({ options: this.options }),
},
buttons,
default_search: this.$route.query.q,
search: { search: this.$route.query.q },
...this.options,
},
hidden_ids,
@ -182,10 +182,6 @@ export default {
type: Object,
required: false,
},
default_search: {
type: String,
required: false,
},
add_filters: {
type: Boolean,
required: false,