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

Impossible to use more than one searchbox #103

Open
miraks31 opened this issue Nov 24, 2016 · 1 comment
Open

Impossible to use more than one searchbox #103

miraks31 opened this issue Nov 24, 2016 · 1 comment

Comments

@miraks31
Copy link

Scenario:
Build an application with 2 search boxes like this:

Run the application.
Enter a value in the 1st search box ==> The filter 1 is well applied (OK)
Enter a value in the 2nd search box ==> The filter 2 is well applied but not the filter 1 (KO)
Remove the value in 1st search box ==> No filter applied (KO)

The expected result is:
Enter a value in the 1st search box ==> The filter 1 is applied
Enter a value in the 2nd search box ==> The filter 1 and are applied
Remove the value in 1st search box ==> The filter 2 is applied

Thank you very much for this component.
Just one more question, is this component still maintained?

@miraks31
Copy link
Author

Hi,

Just for information, I found a workaround by transforming queries (except one) in filters like this:
<input id="search_NODETYPE" type="search" class="form-control validate alex elasticfilter" eui-filter="ejs.QueryFilter(ejs.QueryStringQuery(querystring_NODETYPE).defaultField('NODETYPE'))" ng-model="querystring_NODETYPE" eui-enabled="querystring_NODETYPE.length"/>

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

No branches or pull requests

1 participant