Add pagination to search results
Add pagination to the search results presented when a user searchs.
Rough idea:
1. when performing the search, also do a count of the results in the database.
2. If more than 25 (randomly selected number) results are found, only show the first 25 results on the first page, and create links with offset to other pages.
3. When one of these links are clicked, present the results with the offset (ie. page two will present results 26-50).
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Hans Joachim Desserud
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- m3-2010
- Started by
- Hans Joachim Desserud
- Completed by
- Hans Joachim Desserud
Whiteboard
Implemented DHIS2's built-in pagination for the search results.
This has also been integrated with the search dialog so that the user can select the number of results to be shown on each page when searching. See the related blueprint for more information:
https:/
Work Items
Dependency tree
* Blueprints in grey have been implemented.