3
0

Pagination/sorting fixes & improvements

This commit is contained in:
Denis Arh
2020-11-13 16:17:39 +01:00
parent fc0ed924de
commit 11ea5df303
15 changed files with 27 additions and 17 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ func (s Store) {{ unexport "fetchFullPageOf" $.Types.Plural }} (
// if limit is not set or we've already collected enough items
// we can break the loop right away
if limit == 0 || fetched == 0 || fetched < limit {
if limit == 0 || fetched == 0 || fetched <= limit {
break
}