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

Match only one object #102

Open
carkod opened this issue Mar 4, 2020 · 2 comments
Open

Match only one object #102

carkod opened this issue Mar 4, 2020 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@carkod
Copy link

carkod commented Mar 4, 2020

Is your feature request related to a problem? Please describe.
Match only one object. Currently the matching engine returns every property that has a match. e.g.:

[{
 "name": "Carlos",
 "location": "Spain",
},
{
 "name": "Johana",
 "location": "South Africa"
}]

If type "S" it will match "Carlos", "Spain", and "South Africa". Is there a way to only match "Carlos" and "South Africa"

Please Describe alternatives you've considered
Feature request #48 seems to be something close to this, but apparently it hasn't been included in the current release?

Thank you @TarekRaafat

@carkod carkod added the enhancement New feature or request label Mar 4, 2020
@TarekRaafat TarekRaafat added the help wanted Extra attention is needed label Mar 23, 2020
@TarekRaafat TarekRaafat removed the enhancement New feature or request label Jul 17, 2021
@postatum
Copy link

Hi. Has this already been implemented by the data.filter config?

@ahukkanen
Copy link

We are experiencing this same issue at https://github.com/decidim/decidim.

It would be extremely helpful if preventing duplicate results was a configuration option instead of having to implement a custom filter for every use case (especially when we are using the same component for multiple use cases).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants