]> git.koha-community.org Git - koha.git/commit
Bug 15090: Fix date filter for Suggestions management
authorMarc Véron <veron@veron.ch>
Fri, 30 Oct 2015 14:23:30 +0000 (15:23 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 2 Nov 2015 14:35:02 +0000 (11:35 -0300)
commit3f56ae2b9520a97801c801b03cad43e793eeeda3
treebbe1c7ea2783c074bd11362230df379d062df860
parent02feeca14f4c27a05f46920545734c3a9e5455d7
Bug 15090: Fix date filter for Suggestions management

Home > Acquisitions > Suggestions management:
Before 13813 the "from" date in filters was 0000-00-00 if not
filled, afer 13813 it's today.

This patch re-introduces 0000-00-00.

See http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13813#c172

To test:
- Go to Home > Acquisitions > Suggestions management
- Verify that date filters work as expected
- Verify that start dates in sql query are 0000-00-00 if no start
  dates are given
- Note: Line 185 outputs the start dates as warn if $debug is set.

Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Suggestions.pm