mirror of https://github.com/kiwix/libkiwix.git
+ display start=n+1 in search result pat if offset=n (people start to count at 1, not 0)
This commit is contained in:
parent
b7984c5138
commit
a596427a5e
|
@ -211,7 +211,7 @@ namespace kiwix {
|
|||
|
||||
oData["count"] = this->beautifyInteger(this->estimatedResultCount);
|
||||
oData["searchPattern"] = this->searchPattern;
|
||||
oData["resultStart"] = this->resultStart;
|
||||
oData["resultStart"] = this->resultStart + 1;
|
||||
oData["resultEnd"] = (this->resultEnd > this->estimatedResultCount ? this->estimatedResultCount : this->resultEnd);
|
||||
oData["protocolPrefix"] = this->protocolPrefix;
|
||||
oData["searchProtocolPrefix"] = this->searchProtocolPrefix;
|
||||
|
|
Loading…
Reference in New Issue