[BUGFIX] Allow cloning of the QueryBuilder 24/53524/2
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 17:11:37 +0000 (19:11 +0200)
commitec4d05ebd3d2286e05877543bdd5aa30fe3e8fbd
treee1af78d39c15317153f4199cd6d2fcb4d1e6e307
parent1818f506594da449b3bfe986699f69b49e34e33d
[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/53524
Tested-by: TYPO3com <no-reply@typo3.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