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

Search box in the overview page behaves not as expected #477

Closed
RubenFricke opened this issue Jun 29, 2021 · 1 comment
Closed

Search box in the overview page behaves not as expected #477

RubenFricke opened this issue Jun 29, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@RubenFricke
Copy link
Member

Describe the bug
The search bar on the overview page doesn't work as expected. Whenever I search for a correct part of a project it finds the project, but whenever I add or remove some (correct) letters, it doesn't find the project anymore.

Besides that, whenever I search with a certain query and it finds a set of projects, it doesn't matter what categories I select. Even though non of the projects have the selected category, it still returns all the categories.

To Reproduce

  1. Open the backend with a fresh seeded database
  2. Open the Search endpoint in swagger
  3. Query: unbranded
  4. Validate that it finds 3 projects

  1. Query: unbrande
  2. Validate that it finds no projects

  1. Query: unbranded, category: 1
  2. Validate that it still finds all the 3 projects even though they don't have the selected category.

Expected behavior
Improve the search mechanism that avoids the named bugs above and include the selected categories in the filtering of projects.

Screenshots
image
image

Additional context
Probably same issue reported here: DigitalExcellence/dex-frontend#537

Category filter problem has also been mentioned in this pull request: DigitalExcellence/dex-frontend#524

@RubenFricke RubenFricke added the bug Something isn't working label Jun 29, 2021
@JVerbruggen JVerbruggen self-assigned this Jun 29, 2021
@RubenFricke
Copy link
Member Author

Forgot the close in this pull request: #479

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants