Skip to content

Commit 521547b

Browse files
authored
Merge pull request #243 from nwise/fix-pagination
Initializing PageOffset to be 1 (instead of default 0) so that the 'n…
2 parents 4982d9b + 29bf526 commit 521547b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonApiDotNetCore/Internal/Query/PageQuery.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ namespace JsonApiDotNetCore.Internal.Query
33
public class PageQuery
44
{
55
public int PageSize { get; set; }
6-
public int PageOffset { get; set; }
6+
public int PageOffset { get; set; } = 1;
77
}
88
}

0 commit comments

Comments
 (0)