Skip to content
Snippets Groups Projects
Commit f05f4e2b authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Remove highlight from showcase order

parent 1a47368f
No related branches found
No related tags found
No related merge requests found
......@@ -8,12 +8,6 @@ module Communication::Website::WithShowcase
foreign_key: :communication_website_id,
association_foreign_key: :communication_website_showcase_tag_id
scope :ordered_for_showcase, -> {
order(highlighted_in_showcase: :desc, created_at: :desc)
}
scope :in_showcase, -> {
in_production.where(in_showcase: true)
.ordered_for_showcase
}
scope :in_showcase, -> { in_production.where(in_showcase: true) }
end
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment