We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c68dd6 commit bbfcc62Copy full SHA for bbfcc62
CHANGELOG.md
@@ -4,6 +4,7 @@
4
5
* fix table column size regression introduced in `1.0.9`, fixes [#245](https://github.com/cars10/elasticvue/issues/245)
6
* fix filtering when `null` values are present, fixes [#244](https://github.com/cars10/elasticvue/issues/244)
7
+* reset search table sort when changing index
8
9
## 1.0.9
10
src/composables/components/search/SearchDocuments.ts
@@ -48,6 +48,11 @@ export const useSearchDocuments = () => {
48
}
49
50
51
+ watch(() => (searchStore.indices), () => {
52
+ searchStore.pagination.sortBy = ''
53
+ mergeQuery({sort: []})
54
+ })
55
+
56
watch(() => (searchStore.q), value => {
57
mergeQuery({ query: { query_string: { query: value } } })
58
})
0 commit comments