There will be an error saying "Are you lost? There are no stories on this page. Go to page 1."
This error should only display when someone attempts to view a page past the last page of the list of pages written by that author.
Page 1 is a special case. It should never show this error, but is currently showing it because a page with 0 story pages is technically "past the end" of the list of 0 pages.
BibliographyView.getLastPageNumber needs to be modified to return 1 if lastPgNum is 0.
Steps to reproduce
This error should only display when someone attempts to view a page past the last page of the list of pages written by that author.
Page 1 is a special case. It should never show this error, but is currently showing it because a page with 0 story pages is technically "past the end" of the list of 0 pages.
BibliographyView.getLastPageNumber
needs to be modified to return1
iflastPgNum
is0
.