Skip to content
Snippets Groups Projects
Commit 748eff0f authored by Susanne Moog's avatar Susanne Moog Committed by Georg Ringer
Browse files

[BUGFIX] Reset number of results in QueryResult after offset changes

Using offsetSet or unset allows manipulating the QueryResult manually.
As the result of `count` is cached, offset changes need to reset that
cache to accurately return the correct offset.

Resolves: #76310
Releases: master, 9.5
Change-Id: Ic43f3810766bdb1ee02800b07f6853c81ba404f5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63919


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 9db6b322
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment