Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
5100352d
Commit
5100352d
authored
May 06, 1999
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow querying of bug creation times.
parent
daffcd74
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
3 deletions
+28
-3
CHANGES
CHANGES
+6
-0
buglist.cgi
buglist.cgi
+17
-1
makebugtable.sh
makebugtable.sh
+2
-1
query.cgi
query.cgi
+3
-1
No files found.
CHANGES
View file @
5100352d
...
...
@@ -10,6 +10,12 @@ query the CVS tree. For example,
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:
...
...
buglist.cgi
View file @
5100352d
...
...
@@ -359,7 +359,23 @@ sub SqlifyDate {
}
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
)
{
...
...
makebugtable.sh
View file @
5100352d
...
...
@@ -34,7 +34,7 @@ assigned_to mediumint not null, # This is a comment.
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,
...
...
@@ -52,6 +52,7 @@ qa_contact mediumint not null,
status_whiteboard mediumtext not null,
index (assigned_to),
index (creation_ts),
index (delta_ts),
index (bug_severity),
index (bug_status),
...
...
query.cgi
View file @
5100352d
...
...
@@ -345,6 +345,8 @@ push @::legal_target_milestone, "---"; # Oy, what a hack.
print
$jscript
;
my
@logfields
=
(
"[Bug creation]"
,
@::log_columns
);
print
"
<FORM NAME=queryForm METHOD=GET ACTION=\"buglist.cgi\">
...
...
@@ -403,7 +405,7 @@ Changed in the <NOBR>last <INPUT NAME=changedin SIZE=2 VALUE=\"$default{'changed
<td rowspan=2 align=right>Where the field(s)
</td><td rowspan=2>
<SELECT NAME=\"chfield\" MULTIPLE SIZE=4>
@{[make_options(\@
::log_column
s, $default{'chfield'}, $type{'chfield'})]}
@{[make_options(\@
logfield
s, $default{'chfield'}, $type{'chfield'})]}
</SELECT>
</td><td rowspan=2>
changed.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment