[BUGFIX] Allow empty values in start/stop filter of belog 28/26728/2
authorSteffen Müller <typo3@t3node.com>
Thu, 9 Jan 2014 14:48:28 +0000 (15:48 +0100)
committerSteffen Müller <typo3@t3node.com>
Thu, 9 Jan 2014 19:55:39 +0000 (20:55 +0100)
commit2620cb5a6b27fb960034d90f158745bfe7eece2d
treeee794c498b6d43c89e9283357a620b95b41a4e3e
parentc99a07a9442ea1ddbe0ce95881251eb927c209ac
[BUGFIX] Allow empty values in start/stop filter of belog

One can limit records in the backend log module to a custom period
of time using the "User defined" mode and a start and stop field.

Leaving these fields empty is now supported in the corresponding
domain model setters by adding default values to the DateTime
arguments.

Resolves: #53975
Releases: 6.1, 6.2
Change-Id: I944322bb3747a29fab33c3d32e17dd070c7cb6db
Reviewed-on: https://review.typo3.org/26728
Reviewed-by: Steffen Müller
Tested-by: Steffen Müller
typo3/sysext/belog/Classes/Domain/Model/Constraint.php
typo3/sysext/belog/Tests/Unit/Domain/Model/ConstraintTest.php [new file with mode: 0644]