For AI agents: visit https://locomotive-v3.readme.io/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI. Append .md to any documentation page URL to get its markdown version.
Jump to Content
LocomotiveCMSLocomotiveCMSGuidesDiscussionSupport us!v2

GuidesDiscussionSupport us!v2Log InLocomotiveCMS
Discussions
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?

many_to_manyorder_bycontent_type
3 years ago by Igor
  • Recent
  • Unanswered
301301_redirectactionsapiassetsback officebelongs_toblockscallapicanconical urlcartchildrenclonecoalconfigcontent_assetscontent_entrycontent_typecontent_type_templatecontent_typesdatedeletedeploydocumentationdownloaddropsecommerceeditable_elementeditorenginefile structurefolder structurefoldersga4gallerygemgoogle_analyticshandlehostinghtmlhtml_attributesidintegrationjsonlayoutslinklink_toliquidlistedmany_to_manymetafieldsnavnestingnilnilclassofflineopen graphorder_bypagepagespaginationpath_topdfpublic_submissionpublishreadmerubyschedulesectionsselectsite_metricssitemapsolidusspamsteamsynctext_formattingtheme_assetsto_symurlurl_redirectwagonwith_scopewysiwygyaml
Discussions

Discussions are available on the Pro Plan.

A community forum for your users.

Upgrade