Project

General

Profile

Actions

Bug #94965

open

QueryResultPaginator override current limit/offset

Added by Eric Chavaillaz over 2 years ago. Updated 10 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2021-08-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

If I use the `QueryResultPaginator` with a `QueryResult` who has already a limit and/or an offset they are all overrided.
The correct behaviour has to take care of the current state of the `QueryResult` and paginate only the result without overriding the query.

Thanks,
Eric


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #95802: Paginator does not respect initial limit or offsetUnder Review2021-10-27

Actions
Actions #1

Updated by Eric Chavaillaz over 2 years ago

A possible workaround is to cast the "queryResult->toArray()" and then use "array_slice" like in the "ArrayPaginator".

Actions #2

Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72817

Actions #3

Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72817

Actions #4

Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72817

Actions #5

Updated by Gerrit Code Review over 2 years ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72817

Actions #6

Updated by Daniel Haupt over 2 years ago

Actions #7

Updated by Gerrit Code Review about 1 year ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72817

Actions #8

Updated by Gerrit Code Review 10 months ago

Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72817

Actions #9

Updated by Stefan Bürk 9 months ago

  • Related to Bug #95802: Paginator does not respect initial limit or offset added
Actions

Also available in: Atom PDF