[TYPO3-english] Selection order doesn't respect the pidInList parameter?

Georg Ringer typo3 at ringerge.org
Sun Sep 18 12:58:09 CEST 2011


Am 17.09.2011 22:02, schrieb Ernesto Domato:
> Today I was using a CONTENT cObject type to get the content for
> certain pages. I made a test where the pidInList has the list of pages
> IDs in the order that I want to get the content from those pages but
> when I render those contents the order is the one of the UIDs of the
> contents and not the order of the pidInList, is that correct?, can I
> change that so it respect the pidInList order?.

you can't change that as this is a limitation of SQL: The built query
looks like select * from tt_content where pid IN(123,456,789). Changing
123 and 456 won't change the result set and their order.
Georg


More information about the TYPO3-english mailing list