Searching bug changes

Gervase Markham gerv at mozilla.org
Tue Nov 16 09:04:46 UTC 2010


It looks like the following is true of Bugzilla's "Search By Change 
History" search system:

1) Searches like "field Q changed after time X and before time Y" search 
for whether field Q changed in that range of dates/times

2) Searches like "changed after time X and before time Y" (i.e. remove 
the "field Q" option) search for whether the _last_ changed time is in 
that range of dates/times

This is not particularly intuitive, nor is it what the UI seems to 
suggest will happen. The UI suggests that just putting a set of dates in 
will search for all bugs to which a change of any sort was made between 
those dates.

However, it seems it has worked this way since at least 3.4.

So, what does someone do if they want to search for:

"Bugs to which any change was made between dates X and Y"

?

They can't just list every field available, because "Comment Added" is 
not one of the options, and that accounts for a large number of bug 
changes. And it also would lead to a bloated URL and would not be 
future-proof against the addition of new fields.

It seems to me that the "where ANY of the fields" box on the Search UI 
needs to acquire three new options:

- Anything
- Last change (default, for backwards-compatibility, at least until we 
change the query.cgi URL interface)
- Comment Added

And we need to make it so that Anything includes Comment Added.

What do you all think?

Gerv
_______________________________________________
dev-apps-bugzilla mailing list
dev-apps-bugzilla at lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-apps-bugzilla



More information about the developers mailing list