Hallo, ich möchte die Ergebnismenge einer 1:n Relation in einer bestimmten Sortierung ausgeben:
cruise-A -> Kategorie-X, 1000 € cruise-A -> Kategorie-D, 900 € cruise-A -> Kategorie-L, 950 € Sortiert: cruise-A -> Kategorie-D, 900 € cruise-A -> Kategorie-L, 950 € cruise-A -> Kategorie-X, 1000 € Dafür habe ich in der Repository-Klasse diesen Code: public function findAllSortByCabinCategory() { $query = $this->createQuery(); $query->setOrderings(array( 'cabinCategory' => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_ASCENDING )); } Funktionsaufruf im Controller: $cabinPricePerPersons = $this->cabinPricePerPersonRepository->findAllSortByCabinCategory(); $this->view->assign('cabinPricePerPersons', $cabinPricePerPersons); Die Ausgabe erscheint aber nach wie vor "unsortiert". Jemand eine Erklärung dafür? Wo liegt der Fehler? Gruß, Johannes. _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german