* Fix bug#34977, the total number does not match pager total in release-view.

This commit is contained in:
chaideqing
2023-06-02 14:59:07 +08:00
parent 9db5597475
commit 833c2a4729
+1
View File
@@ -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');