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

Pagination does not work with 100 results per page #152

Closed
derDuffy opened this issue Mar 21, 2017 · 4 comments
Closed

Pagination does not work with 100 results per page #152

derDuffy opened this issue Mar 21, 2017 · 4 comments
Assignees
Labels
Milestone

Comments

@derDuffy
Copy link

derDuffy commented Mar 21, 2017

Request Type

Bug

Work Environment

| Question | Answer
| Browser type & version | Chrome(57.0.2987.110 (64-bit)), FF(52.0 (32-bit)) and IE(11.096)

Problem Description

If selecting 100 results per page switching pages does not work. The system displays 2 pages correctly for 183 cases but switching to the second page does not work.
If result set size is decreased to 30 one will get 7 pages and switching pages works.

@nadouani nadouani self-assigned this Mar 23, 2017
@nadouani nadouani added the bug label Mar 23, 2017
@nadouani
Copy link
Contributor

Hi @derDuffy

what are the pages concerned by this issue?

Thanks

@nadouani nadouani added this to the 2.11.0 milestone Mar 23, 2017
@nadouani nadouani assigned To-om and unassigned nadouani Mar 27, 2017
@nadouani
Copy link
Contributor

Hi @derDuffy

We found the root cause of this issue: our use of Elasticsearch scroll queries doesn't take into account the pagination details. So, a quick workaround would to add the following config to your application.conf file

search.pagesize = 100

We will release a permanent fix to this issue on Mellifera (TheHive 2.11.0)

@To-om
Copy link
Contributor

To-om commented Mar 28, 2017

The problem is located in Elastic4play. An issue have been created on its repo.

@nadouani
Copy link
Contributor

This feature will be moved to 2.10.2 release

@nadouani nadouani reopened this Apr 14, 2017
@nadouani nadouani modified the milestones: 2.10.2, 2.11.0 Apr 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants