Feature #4968

Sorting by OptionLabel for Selectbox

Added by Markus Dreyer over 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Should have
Category:
ViewHelpers
Target version:
-
Start date:
2009-10-11
Due date:
% Done:

100%

Estimated time:
Has patch:

Description

I would like to have a sorting option for selectboxes.

sometihng like:

$this->registerArgument('sortByOptionLabel', 'boolean', 'If true, List will be sorted by label.');

and in getOptions

if ($this->arguments->hasArgument('sortByOptionLabel') && $this->arguments['sortByOptionLabel'] === true) {
asort($options);
}

#1

Updated by Bastian Waidelich over 12 years ago

  • Project changed from 534 to TYPO3.Fluid
  • Category deleted (432)
#2

Updated by Bastian Waidelich over 12 years ago

  • Category set to ViewHelpers
  • Status changed from New to Accepted
  • Assignee set to Bastian Waidelich
  • Branch set to v4 + v5
#3

Updated by Bastian Waidelich over 12 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3514.

Also available in: Atom PDF