-
Notifications
You must be signed in to change notification settings - Fork 0
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
[backend] Pagination in search results does not work #50
Comments
The paging problem is fixed, but I noticed some other possible issues:
|
I believe what's happening is probably EXTJS is loading ALL the data (from page1 to page 20) and it probably manually trims only the last page to be shown. So loading all the data is slow and stupid. We should do all pagination and sorting on the server. You can pass parameters ?page ?size ?sort so that this happens on the server, and not on the clientside. |
I also see that when you change the page-size to 1000 the results shown are still 10. This needs to be fixed and we also need a selenium test for it. |
Default request timeout in the extjs proxy class is 30s, which means that any request, lasting more than 30s is going to be terminated and as a result the grid will not be updated. If you like I can increase the timeout. |
The text was updated successfully, but these errors were encountered: