[BUGFIX] Allow empty values in start/stop filter of belog 23/26723/3
authorSteffen Müller <typo3@t3node.com>
Thu, 9 Jan 2014 14:48:28 +0000 (15:48 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 9 Jan 2014 19:37:36 +0000 (20:37 +0100)
commitbeb80664a9f446dd0c3a6c31326891ae6b144ce5
tree93bcc16c2429fc2cec2042b67590010d3dd040ef
parentba2386e7305e0d6e64db5cc485bc38728728ad8e
[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/26723
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/belog/Classes/Domain/Model/Constraint.php
typo3/sysext/belog/Tests/Unit/Domain/Model/ConstraintTest.php [new file with mode: 0644]