+ fix the implementation of the arrows in the search restult page

This commit is contained in:
kelson42
2011-12-04 15:11:38 +00:00
parent aa9ebdb87e
commit 8df9c53878
2 changed files with 3 additions and 3 deletions

View File

@ -215,7 +215,7 @@ namespace kiwix {
oData["resultStart"] = this->resultStart + 1;
oData["resultEnd"] = (this->resultEnd > this->estimatedResultCount ? this->estimatedResultCount : this->resultEnd);
oData["resultRange"] = this->resultRange;
oData["resultLastPageStart"] = this->estimatedResultCount - this->resultRange;
oData["resultLastPageStart"] = this->estimatedResultCount > this->resultRange ? this->estimatedResultCount - this->resultRange : 0;
oData["protocolPrefix"] = this->protocolPrefix;
oData["searchProtocolPrefix"] = this->searchProtocolPrefix;