[BUGFIX] Allow cloning of the QueryBuilder 24/53424/4
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Sat, 8 Jul 2017 16:08:12 +0000 (18:08 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 15 Jul 2017 16:44:39 +0000 (18:44 +0200)
commit8960d9a5c979a0ac9c06e773f627ae728202d53d
tree8e9e5bd13bded8b696198e0321c096415d98ab44
parent8e57ff3b0caa0b1ed9ab51590f683a19658709d6
[BUGFIX] Allow cloning of the QueryBuilder

In order to be able to implement pagination
it has to be possible to clone QueryBuilder.

Doctrine query builder already supports cloning,
so it's just about allowing it in our wrapper.

Resolves: #81822
Releases: master, 8.7
Change-Id: I059bdc51d1181cac08a3d9f30de174b025c6e89d
Reviewed-on: https://review.typo3.org/53424
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wolfgang Klinger <wolfgang@wazum.com>
Tested-by: Wolfgang Klinger <wolfgang@wazum.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Database/Query/QueryBuilder.php
typo3/sysext/core/Tests/Unit/Database/Query/QueryBuilderTest.php