will tell you what has been changed in the last week.
+5/5/99 Added the ability to search by creation date. To make this perform
+well, you ought to do the following:
+
+ alter table bugs change column creation_ts creation_ts datetime not null, add index (creation_ts);
+
+
4/30/99 Added a new severity, "blocker". To get this into your running
Bugzilla, do the following:
}
-
+if (defined $ref) {
+ my $which = lsearch($ref, "[Bug creation]");
+ if ($which >= 0) {
+ splice(@$ref, $which, 1);
+ $query .= "and bugs.creation_ts >= " .
+ SqlifyDate($::FORM{'chfieldfrom'}) . "\n";
+ my $to = $::FORM{'chfieldto'};
+ if (defined $to) {
+ $to = trim($to);
+ if ($to ne "" && $to !~ /^now$/i) {
+ $query .= "and bugs.creation_ts <= " .
+ SqlifyDate($to) . "\n";
+ }
+ }
+ }
+}
+
if (defined $ref && 0 < @$ref) {
bug_file_loc text,
bug_severity enum("blocker", "critical", "major", "normal", "minor", "trivial", "enhancement") not null,
bug_status enum("NEW", "ASSIGNED", "REOPENED", "RESOLVED", "VERIFIED", "CLOSED") not null,
-creation_ts datetime,
+creation_ts datetime not null,
delta_ts timestamp,
short_desc mediumtext,
long_desc mediumtext,
status_whiteboard mediumtext not null,
index (assigned_to),
+index (creation_ts),
index (delta_ts),
index (bug_severity),
index (bug_status),
print $jscript;
+my @logfields = ("[Bug creation]", @::log_columns);
+
print "
<FORM NAME=queryForm METHOD=GET ACTION=\"buglist.cgi\">
<td rowspan=2 align=right>Where the field(s)
</td><td rowspan=2>
<SELECT NAME=\"chfield\" MULTIPLE SIZE=4>
-@{[make_options(\@::log_columns, $default{'chfield'}, $type{'chfield'})]}
+@{[make_options(\@logfields, $default{'chfield'}, $type{'chfield'})]}
</SELECT>
</td><td rowspan=2>
changed.