[Posts] Fix sequential navigator appearing for order:X

This commit is contained in:
Earlopain 2023-08-31 08:57:55 +02:00
parent be75cf3349
commit 6885fbf62d
No known key found for this signature in database
GPG Key ID: 298A57787DC6EF08

View File

@ -257,7 +257,7 @@ class PostPresenter < Presenter
end
def has_sequential_navigation?(params)
return false if TagQuery.has_metatag?(params[:q], :order)
return false if TagQuery.has_metatag?(params[:q], "order")
return false if params[:pool_id].present? || params[:post_set_id].present?
true
end