Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Filter ONLY current page" is not working in extension #244

Closed
pWoLiAn opened this issue Jul 18, 2024 · 8 comments
Closed

"Filter ONLY current page" is not working in extension #244

pWoLiAn opened this issue Jul 18, 2024 · 8 comments
Assignees
Labels

Comments

@pWoLiAn
Copy link

pWoLiAn commented Jul 18, 2024

Disconnect does not fix the issue

Description
image
this filter does not work on the search page

Steps To Reproduce
List the steps to reproduce your problem:

  1. Open elasticvue in browser
  2. Click on any of the indices
  3. Search with default values
  4. Try to filter using given box

Environment (please include the following information):

  • Elasticsearch version: 7.4.0
  • Operating system: Windows 11
  • Browser + version: Google chrome (Version 126.0.6478.127 (Official Build) (64-bit))
  • Elasticvue version: 1.0.9
  • How are you running elasticvue? extension
@cars10
Copy link
Owner

cars10 commented Jul 20, 2024

Can you add some example data that you are trying to filter?

@pWoLiAn
Copy link
Author

pWoLiAn commented Jul 20, 2024

For eg, one of the fields in the doc has "Microsoft" in it but when i filter for "Microsoft", nothing happens.

@cars10
Copy link
Owner

cars10 commented Jul 20, 2024

I cannot reproduce this. Do you see any errors in the browser console?

@pWoLiAn
Copy link
Author

pWoLiAn commented Jul 20, 2024

found this in the console. not sure if it is relevant.

 TypeError: o[r].toString is not a function
    at assets/index-DzMw0zuL.js:70:11194
    at Array.some (<anonymous>)
    at assets/index-DzMw0zuL.js:70:11137
    at Proxy.filter (<anonymous>)
    at wo (assets/index-DzMw0zuL.js:70:11125)
    at assets/index-DzMw0zuL.js:90:39913
    at eo.fn (assets/index-DzMw0zuL.js:10:9419)
    at eo.run (assets/index-DzMw0zuL.js:10:1517)
    at get value (assets/index-DzMw0zuL.js:10:9664)
    at T0 (assets/index-DzMw0zuL.js:10:1674)

@cars10
Copy link
Owner

cars10 commented Jul 21, 2024

This seems to be the bug that you encounter. Can you provide the mappings for the index where filtering does not work? You can redact anything business relevant, i am interested in the types.

@pWoLiAn
Copy link
Author

pWoLiAn commented Jul 23, 2024

mappings.json
issue is seen for all indices. these are the mappings for one of the indices. i was trying to filter using the name field

@cars10 cars10 added bug and removed unconfirmed labels Jul 23, 2024
@cars10 cars10 closed this as completed in 4c68dd6 Jul 23, 2024
@cars10
Copy link
Owner

cars10 commented Jul 23, 2024

Thanks! Fixed in 1.0.10.

@j0e1-hpe
Copy link

looks like the issue is still not fixed. the filtering still doesn't work and i see the same error in the console:

TypeError: o[r].toString is not a function[FilterInput.vue:22]
    at filters.ts:25:35
    at Array.some (<anonymous>)
    at filters.ts:23:26
    at Proxy.filter (<anonymous>)
    at xo (filters.ts:22:18)
    at SearchResultsTable.ts:93:12
    at no.fn (reactivity.esm-bundler.js:998:13)
    at no.run (reactivity.esm-bundler.js:177:19)
    at get value (reactivity.esm-bundler.js:1010:102)
    at q0 (reactivity.esm-bundler.js:195:19)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants