Permalink
Browse files

LPS-26062 Don't break for loop for AssetEntries if end=-1

  • Loading branch information...
1 parent 3c47cee commit 3a8f4783390c9c58ae630bacdad4ce6760d3a9e2 @jjangsam jjangsam committed with brianchandotcom Mar 15, 2012
@@ -251,7 +251,7 @@ protected AssetEntryQuery buildFilteredEntryQuery(
catch (Exception e) {
}
- if (filteredEntries.size() > end) {
+ if (end != QueryUtil.ALL_POS && filteredEntries.size() > end) {
break;
}
}

0 comments on commit 3a8f478

Please sign in to comment.