internetarchive/openlibrary — Issue #132: Fix author page crash when ?page=0 is passed.
Author: anandology
Created: 2012-01-18 15:25:18+00:00
State: open

Noticed lot of error emails related to author pages. All of them seem to be caused by passing page=0 query parameter and that was passing negative offset to solr, causing it to fail.

http://openlibrary.org/authors/OL3761269A/Kira_Takenouchi?page=0&v=46

Error: http://ol-web2.us.archive.org/logs/ol-errors/2012-01-17/011218976898.html

Looks like this URL is coming from history page. Links on history page retains all the queryparams of the history page. This should also be fixed.