[TYPO3-mvc] MM-Relation with ordering
Jochen Rau
jochen.rau at lists.typo3.org
Fri Oct 22 12:26:46 CEST 2010
Hi Daniel,
> In the project is a mm-relation between stations and cars an an example.
> I can easely show all childs (cars) of a selected station in the detail
> view, but the ordering of the childs (cars) is stupid by id, not by the
> given order in the mm-table. I will order these cars by the parkingside
> number (each station has the same numbering format). How can I change
> the ordering by default.
There is an open issue for this
http://forge.typo3.org/issues/10319
and see
http://forge.typo3.org/issues/6517
> The next question is, how can I get the first car of a station? And if I
> had a car object, how can I get the next car, if there is one.
Have a look at the PostRepository::findNext() of the BlogExample.
Regards
Jochen
More information about the TYPO3-project-typo3v4mvc
mailing list