Manually entering high page numbers in the URL cause a page crash
To Reproduce
Steps to reproduce the behaviour:
Go to search for caffeine
modify the url to have page=100000000000000
observe crash as per pic
Expected behaviour
No crash, just no results, similar to trying page 5 on a result set with only 4 pages.
Screenshots
Without useGraphQl=true
With useGraphQl=true
Additional context
probably only worth fixing for the useGraphQl=true scenario
Worth considering that maybe showing page 5 or page on a result set with only 4 pages could just redirect to page=4. Equally negative numbers currently show page 1 but perhaps a redirect to page=1 would be clearer.
High page numbers should not give a crash page
Manually entering high page numbers in the URL cause a page crash
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
No crash, just no results, similar to trying page 5 on a result set with only 4 pages.
Screenshots
Without useGraphQl=true
With useGraphQl=true
Additional context
probably only worth fixing for the useGraphQl=true scenario
Worth considering that maybe showing page 5 or page on a result set with only 4 pages could just redirect to page=4. Equally negative numbers currently show page 1 but perhaps a redirect to page=1 would be clearer.