summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-06-19 18:33:57 +0200
committerByron Jones <bjones@mozilla.com>2013-06-19 18:33:57 +0200
commitf1d60221e9c9b90715acf23f646ddd8bad82dd07 (patch)
tree6bec5a6446b33c0988537136bf3acf31185cf18f /Bugzilla
parentfa1486fb4ecd71bdf45b21b74b67b3bf65e89450 (diff)
downloadbugzilla-f1d60221e9c9b90715acf23f646ddd8bad82dd07.tar.gz
bugzilla-f1d60221e9c9b90715acf23f646ddd8bad82dd07.tar.xz
Bug 884345: Searching on Due Date Is Empty does not work anymore
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Search.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index f19497454..46a3cb057 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -3104,6 +3104,7 @@ sub _empty_value {
my $field_obj = $self->_chart_fields->{$field};
return "0" if $field_obj->type == FIELD_TYPE_BUG_ID;
return Bugzilla->dbh->quote(EMPTY_DATETIME) if $field_obj->type == FIELD_TYPE_DATETIME;
+ return Bugzilla->dbh->quote(EMPTY_DATE) if $field_obj->type == FIELD_TYPE_DATE;
return "''";
}