Quick search:


How to localize sorting

In the default user interface all sorting is done by the database, so if you need to localize sorting you need to set the localization setting of MySql (if it has that. See the MySql manual).

There is some sorting support left in the framework from an earlier version: you can pass a path string to _getPeanutsRunQueryHandler to make it sort the objects after they are created and initialized. It uses the _nav1Sort function from generalFunctions.php in the pnt classFolder. This function does not support localization.