Jump to Content
LocomotiveCMSGuidesDiscussionSupport us!v2
GuidesBlogDiscussions
GuidesDiscussionSupport us!v2Log InLocomotiveCMS
Log In

Discussions

Ask a Question

Order many_to_many relations

Hello, I have two models with a `many_to_many` relation. I want to display these models on a page in the same order as I set in back-office, but instead they are ordered based on the setting in my model definition file. Is there any way to control the display order in the Liquid template? Regards, Igor
content_typesmany_to_manyorder_by
Posted by Igor 2 months ago
  • Recent
  • Unanswered
apibelongs_toblockscallapicartclonecoalcontent_entriescontent_entrycontent_typecontent_typesdeployecommercegalleryhostinghtmlidjsonlayoutsmany_to_manynilclassorder_bypagespublic_submissionsectionsspamtext_formattingto_symwagonwith_scope