mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 17:06:31 -06:00
DEV: Remove useless assignment in TopicView#filter_posts_paged
. (#14618)
Assignment is already done in `TopicView#filter_posts_by_ids`
This commit is contained in:
parent
6ad76520b8
commit
baae453012
@ -346,7 +346,7 @@ class TopicView
|
||||
# Sometimes we don't care about the OP, for example when embedding comments
|
||||
min = 1 if min == 0 && @exclude_first
|
||||
|
||||
@posts = filter_posts_by_ids(
|
||||
filter_posts_by_ids(
|
||||
@filtered_posts.order(:sort_order)
|
||||
.offset(min)
|
||||
.limit(@limit)
|
||||
|
Loading…
Reference in New Issue
Block a user