Actions
Feature #45867
closedAllow easy conditions against multiple values/a list
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2013-02-26
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Currently:
[globalVar = GP:L = 3,GP:L = 28,GP:L = 27,GP:L = 24]
Maybe we could introduce some new operator to check against a list?
[globalVar = GP:L in (3,28,27,24)]
Or maybe use some split-syntax?
[globalVar = GP:L = 3|28|27|24]
Updated by Stefan Neufeind over 11 years ago
The "secondary comparisons" (here: everything after "globalVar =") are exploded on the comma. But splitting on the pipe-char would be possible. Maybe with an in-keyword to not change anything on the current equal-comparison (=)?
[globalVar = GP:L in 3|28|27|24]
Updated by Michael Stucki over 11 years ago
The syntax looks confusing to me. IMHO the SQL like variante looks much better: [globalVar = GP:L in (3,28,27,24)]
Updated by Stefan Neufeind over 11 years ago
Just found #39700 ... dejavu ... we already implemented/merged it.
Updated by Michael Stucki over 11 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Duplicate.
Actions