FIX: Fix off-by-one error in recently added shopping list pagination code.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327248 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adam Heath
2012-04-17 19:57:11 +00:00
parent 895478438e
commit 755d06783e
@@ -107,7 +107,7 @@ if (shoppingListId) {
if (shoppingListItemDatas)
listSize = shoppingListItemDatas.size();
lowIndex = (viewIndex * viewSize) + 1;
lowIndex = viewIndex * viewSize;
highIndex = (viewIndex + 1) * viewSize;
if (highIndex > listSize) {