Feature #52879

Implement Slice operation

Added by Dominique Feyer almost 6 years ago. Updated almost 6 years ago.

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

100%


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)}

Associated revisions

Revision 76d47517 (diff)
Added by Dominique Feyer almost 6 years ago

[FEATURE] Add Slice operation to FlowQuery

Change-Id: Ie051c34c4c6cd204075cb3ed087e9ee05bf748ff
Resolves: #52879
Releases: master
Reviewed-on: https://review.typo3.org/24815
Reviewed-by: Christopher Hlubek
Tested-by: Christopher Hlubek
Reviewed-by: Sebastian Kurfuerst
Tested-by: Sebastian Kurfuerst
Reviewed-by: Dominique Feyer
Tested-by: Dominique Feyer

History

#1 Updated by Dominique Feyer almost 6 years ago

  • Tracker changed from Bug to Feature

#2 Updated by Gerrit Code Review almost 6 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 almost 6 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 almost 6 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 almost 6 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 almost 6 years ago

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

Also available in: Atom PDF