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

[Bug] Search without sort make queries slow #2261

Closed
To-om opened this issue Nov 25, 2021 · 0 comments
Closed

[Bug] Search without sort make queries slow #2261

To-om opened this issue Nov 25, 2021 · 0 comments
Assignees
Labels
bug TheHive4 TheHive4 related issues
Milestone

Comments

@To-om
Copy link
Contributor

To-om commented Nov 25, 2021

Request Type

Bug

Problem Description

In search page, no order is requested by the frontend. To prevent inconsistency in page content, a default order is added by the backend. This default order doesn't use index and make request very slow when the number of item is high.

The solution is 1) add an order in frontend 2) remove the default order in backend

@To-om To-om added bug TheHive4 TheHive4 related issues labels Nov 25, 2021
@To-om To-om added this to the 4.1.15 milestone Nov 25, 2021
@To-om To-om self-assigned this Nov 25, 2021
To-om added a commit that referenced this issue Nov 25, 2021
To-om added a commit that referenced this issue Nov 25, 2021
To-om added a commit that referenced this issue Nov 25, 2021
@To-om To-om closed this as completed Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug TheHive4 TheHive4 related issues
Projects
None yet
Development

No branches or pull requests

1 participant