Pagination feature on Results page
Closes T399974
Note: This implementation does not change the query fetching mechanism. Maximum number of results fetched is limited to 200 only. Kindly let me know if I should modify it.
I implement splicing of the search_results for pagination
Changes made:
- Creation of Previous and Next button. Both on Author and Works Results page. On the first page, "Previous" button remains disabled, and likewise on the last page, "Next" remains disabled.
- If someone tries to enter a page no. which is a negative number, of a number greater than the total no of pages, they are redirected to first and last page respectively.
- No. of results per page is limited to 10.
- The button design is coherent with the rest of the elements on the page.