* Fix bug#34977, the total number does not match pager total in release-view.
This commit is contained in:
@@ -201,6 +201,7 @@ class release extends control
|
||||
->leftJoin(TABLE_BUILD)->alias('t2')->on("FIND_IN_SET(t1.id, t2.stories)")
|
||||
->where('t1.id')->in($release->stories)
|
||||
->andWhere('t1.deleted')->eq(0)
|
||||
->groupBy('t1.id')
|
||||
->beginIF($type == 'story')->orderBy($sort)->fi()
|
||||
->page($storyPager)
|
||||
->fetchAll('id');
|
||||
|
||||
Reference in New Issue
Block a user