Feature #52879

Implement Slice operation

Added by Dominique Feyer about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Should have
Target version:
-
Start date:
2013-10-16
Due date:
% Done:

100%

Estimated time:

Description

As discussed on IRC with Christian EEL should support natively Slice opertation. A basic use case will be to display a list the the two last node type for a teaser.

API should look like, and work like the JS slide method:

${q(site).find('fr/blog').children('[instanceof Namespace.Plugin.Blog:Post]').slice()}
${q(site).find('fr/blog').children('[instanceof Namespace.Plugin.Blog:Post]').slice(2)}
${q(site).find('fr/blog').children('[instanceof Namespace.Plugin.Blog:Post]').slice(0, 2)}
#1

Updated by Dominique Feyer about 7 years ago

  • Tracker changed from Bug to Feature
#2

Updated by Gerrit Code Review about 7 years ago

  • Status changed from New to Under Review

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

#3

Updated by Gerrit Code Review about 7 years ago

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

#4

Updated by Gerrit Code Review about 7 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24815

#5

Updated by Gerrit Code Review about 7 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24815

#6

Updated by Dominique Feyer about 7 years ago

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

Also available in: Atom PDF