[TYPO3-german] Extbase Sortierung zieht nicht

Johannes C. Schulz info at enzephalon.de
Mon Jul 6 10:29:48 CEST 2015


Hallo TYPO3-Freunde

 

Ich habe eine Extension wo ich gerne Unterobjekte nicht nach „uid“ sondern
nach dem Integer-Feld „accid“ sortieren lassen würde – sowohl im Frontend
als auch im Backend.

Doch der Eintrag:

 

/**

* The repository for Types

*/

class PersonRepository extends \TYPO3\CMS\Extbase\Persistence\Repository {

    /**

     *

     * define the default ordering of the persons

     */

    protected $defaultOrderings = array( 'accid' =>
\TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_ASCENDING );

}

 

im entsprechenden Kind-Objekt-Repository hat keine Wirkung. Das Kind-Objekt
ist ein ObjectStorage.

 

Wir kann ich in Front- und Backend die Sortierung definieren?

 

Typo3 6.2.12.

 

Johannes



More information about the TYPO3-german mailing list