diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-11-18 12:06:54 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-11-18 12:06:56 -0800 |
commit | 7315951baaa3c3d3a1e1c70b26adfe74b86941f7 (patch) | |
tree | ecf92f173d409885b6ced5769bad3d4c6ed5d29c /fatcat_scholar/translations/zh | |
parent | 00a4be2a3a26b0179598ec2f31e4490563a53622 (diff) | |
download | fatcat-scholar-7315951baaa3c3d3a1e1c70b26adfe74b86941f7.tar.gz fatcat-scholar-7315951baaa3c3d3a1e1c70b26adfe74b86941f7.zip |
web: fix pagination numbering lower-bound
Offset/limit are zero-indexed in code, with lower bound inclusive and
upper bound exclusive. But we should display as one-indexed, with lower
and upper bounds exclusive. Eg, first three hits are "1 to 3" (not "0 to
3") and next three are "4 to 6" (not "3 to 6").
Thanks to @milotype for catching this.
Diffstat (limited to 'fatcat_scholar/translations/zh')
0 files changed, 0 insertions, 0 deletions