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

GraphQLQueryProvider doesn't filter items based on Categories and keywords #129

Open
npokhare opened this issue Jun 13, 2020 · 3 comments
Open

Comments

@npokhare
Copy link

npokhare commented Jun 13, 2020

When we create an object of type SimpleBrokerQuery see below: https://github.com/sdl/dxa-web-application-java/blob/05cb742c88d819310ee029702f440ee2ecf45c4d/dxa-framework/dxa-common-api/src/main/java/com/sdl/webapp/common/api/model/query/SimpleBrokerQuery.java#L12
we pass in keywordFilters. This keywordFilters are not used to build the inputItemFilter in graphql query provider(https://github.com/sdl/dxa-web-application-java/blob/05cb742c88d819310ee029702f440ee2ecf45c4d/dxa-framework/dxa-tridion-provider/src/main/java/com/sdl/dxa/tridion/broker/GraphQLQueryProvider.java#L91)

In earlier implementation (non GraphQL implementation) keywordFilters were used and it was able to get component filtered by keywords,

more info :https://github.com/sdl/dxa-web-application-java/blob/05cb742c88d819310ee029702f440ee2ecf45c4d/dxa-framework/dxa-tridion-provider/src/main/java/com/sdl/dxa/tridion/mapping/impl/DefaultContentProvider.java#L282

@NIkonDSL
Copy link
Contributor

See @todo in GraphQLQueryProvider.java

@treaz treaz closed this as completed in d6ecf5f Jan 11, 2021
treaz pushed a commit that referenced this issue Jan 11, 2021
…51 to develop

* commit 'd6ecf5fc57eb0137bdcbaa54df4d746e19ccee03':
  UDP-451 prepare fix #129
@treaz
Copy link
Contributor

treaz commented Feb 3, 2021

I don't remember when I closed this issue.
Must be an accident. @alebastrov do you have any thoughts on the question of @npokhare

@treaz treaz reopened this Feb 3, 2021
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

3 participants