diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-11-14 13:15:19 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-11-14 13:15:19 +0100 |
commit | 0740da84668bebcf010cedf67dcf292595a81f9a (patch) | |
tree | 78cb2a98b77f9c955038d4eb9ce7f078d6c12d9c /lib | |
parent | 334ad6c7f0238da1a61abb9de79679b5897ad3af (diff) |
Fix pagination issue
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Db/CoreRequestBuilder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/CoreRequestBuilder.php b/lib/Db/CoreRequestBuilder.php index 9f2fb8ba..028fbfb0 100644 --- a/lib/Db/CoreRequestBuilder.php +++ b/lib/Db/CoreRequestBuilder.php @@ -237,7 +237,7 @@ class CoreRequestBuilder { // TODO: Pagination should use published date, once we can properly query the db for that $qb->andWhere( $expr->lt( - 'creation', $qb->createNamedParameter($dt, IQueryBuilder::PARAM_DATE), + 'sn.creation', $qb->createNamedParameter($dt, IQueryBuilder::PARAM_DATE), IQueryBuilder::PARAM_DATE ) ); |