Project

General

Profile

Actions

Feature #39700

closed

TypoScript: Allow easy comparison against multiple values

Added by Stefan Neufeind about 12 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2012-08-11
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Currently you can only compare against multiple values like:

[globalVar = TSFE:id=10, TSFE:id=12, TSFE:id=15]

While it might be great to have something like
[globalVar = TSFE:id IN (10,12,15)]
that won't easily work in TypoScript since the commas, brackets etc. would make detection quite hard - according to how TypoScript is currently implemented.

What if we use the "standard" split-operator?
[globalVar = TSFE:id=10|12|15]


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #45165: Wrong result on unequal globalVar conditionsClosedOliver Hader2013-02-05

Actions
Has duplicate TYPO3 Core - Feature #45867: Allow easy conditions against multiple values/a listClosed2013-02-26

Actions
Actions #1

Updated by Gerrit Code Review about 12 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13589

Actions #2

Updated by Gerrit Code Review about 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13589

Actions #3

Updated by Gerrit Code Review almost 12 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13589

Actions #4

Updated by Stefan Neufeind almost 12 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Gerrit Code Review almost 12 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15874

Actions #6

Updated by Gerrit Code Review almost 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15874

Actions #7

Updated by Gerrit Code Review almost 12 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15874

Actions #8

Updated by Stefan Neufeind over 11 years ago

This is already merged and imho just forge didn't pick up the resolved-state correctly.

Actions #9

Updated by Michael Stucki over 11 years ago

  • Status changed from Under Review to Resolved
Actions #10

Updated by Benni Mack almost 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF