Hi @KK,

Sometimes I use a list of ids to get a listing with cms:pages -

Code: Select all
<cms:pages id=my_prefiltered_ids  orderby=''... />


Order by that exact list of ids in their supplied order is essential. I can abide by existing restrictions on orderby and use a cms:query or a hook, but anyway please consider adding that option to the core tag.

Sample

Code: Select all
SELECT p.id, p.template_id
FROM couch_pages p
WHERE p.template_id='8' AND p.id IN(4129,4116,4120) AND NOT p.publish_date = '0000-00-00 00:00:00' AND p.parent_id=0
ORDER BY FIELD(p.id,4129,4116,4120)
LIMIT 0, 100


Thanks and regards