Closed
Bug 192218
Opened 22 years ago
Closed 20 years ago
Need a way to filter specifically for requests with no requestee
Categories
(Bugzilla :: Attachments & Requests, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: justdave, Assigned: LpSolit)
References
Details
Attachments
(2 files, 3 obsolete files)
2.36 KB,
patch
|
myk
:
review+
|
Details | Diff | Splinter Review |
979 bytes,
patch
|
timeless
:
review+
|
Details | Diff | Splinter Review |
Currently the only way to do this is grab all requestees and sort by requestee so you get them grouped at the top. It would be nice to have a way to query for only requests with no requestee.
Updated•22 years ago
|
Blocks: rt-clean-up
Updated•20 years ago
|
Assignee: myk → LpSolit
Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•20 years ago
|
||
For backward compatibility, an empty requestee field considers everything, including requests with no requestee (nothing is specified, so take everything). Writing "*" (without quotes) specifically considers requests with no requestee (* usually means anything, but here in the sense anybody not explicitly defined, i.e. no requestee).
Assignee | ||
Comment 2•20 years ago
|
||
Comment on attachment 162911 [details] [diff] [review] use "*" for requests from the wild simple patch
Attachment #162911 -
Flags: review?(myk)
Reporter | ||
Comment 3•20 years ago
|
||
I really don't like the *... it sounds like a wildcard. How about a hyphen (or two or three?) We use that convention already elsewhere in Bugzilla (for no resolution, no priority, no target milestone, etc)
Assignee | ||
Comment 4•20 years ago
|
||
(In reply to comment #3) > I really don't like the *... it sounds like a wildcard. How about a hyphen (or > two or three?) I don't like it either. Then, why not a checkbox under the requestee textbox named "No requestee"? If checked, the requestee field would be grayed. Adding myk to the CC list as I asked him to review my patch.
Assignee | ||
Comment 5•20 years ago
|
||
replacing "*" by a hyphen "-" and adding a tool tip so that users have a chance to know that this option now exists. For consistency, I also add a tool tip to the requester field. myk suggests that if this feature becomes popular, we could later add a checkbox making it more accessible.
Attachment #162911 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #163061 -
Flags: review?(myk)
Assignee | ||
Updated•20 years ago
|
Attachment #162911 -
Flags: review?(myk)
Comment 6•20 years ago
|
||
Comment on attachment 163061 [details] [diff] [review] use a hyphen for requests with no requestee + tool tip >Index: mozilla/webtools/bugzilla/request.cgi >+ if ($cgi->param('requestee') ne "-") { >+ push(@criteria, "requestees.login_name = " . SqlQuote($cgi->param('requestee'))); >+ } >+ else { push(@criteria, "flags.requestee_id IS NULL") } Nit: when the "if" execution block of an "if-else" statement resides on its own indented lines, the statement is easier for me to read if the "else" execution block also resides on its own indented lines, even if it's short. Otherwise my eyes tend to gloss over and miss the else block entirely, and I suppose other Bugzilla coders may do the same. >Index: mozilla/webtools/bugzilla/template/en/default/request/queue.html.tmpl >- <td><input type="text" name="requester" value="[% cgi.param('requester') FILTER html %]" size="20"></td> >+ <td><input type="text" name="requester" value="[% cgi.param('requester') FILTER html %]" size="20" title="Requester's email address"></td> >- <td><input type="text" name="requestee" value="[% cgi.param('requestee') FILTER html %]" size="20"></td> >+ <td><input type="text" name="requestee" value="[% cgi.param('requestee') FILTER html %]" size="20" title="Requestee's email address or ''-'' (hyphen) for requests with no requestee"></td> Nit: these lines would be better off wrapped, and the quotes around the hyphen would be better inserted with " instead of using two single-quotes. Otherwise this looks good, and all issues nits, so r=myk.
Attachment #163061 -
Flags: review?(myk) → review+
Assignee | ||
Comment 7•20 years ago
|
||
same patch as before, using " and wrapping long lines.
Assignee | ||
Updated•20 years ago
|
Flags: approval?
Comment 8•20 years ago
|
||
Comment on attachment 163067 [details] [diff] [review] use a hyphen for requests with no requestee + tool tip, v1.1 >+ <td><input type="text" name="requester" value="[% cgi.param('requester') FILTER html %]" size="20" >+ title="Requester's email address"></td> Minor nit: Bugzilla code generally lines up wrapped attributes with the attributes on the previous line, i.e.: + <td><input type="text" name="requester" value="[% cgi.param('requester') FILTER html %]" size="20" + title="Requester's email address"></td>
Attachment #163067 -
Flags: review+
Comment 9•20 years ago
|
||
This is a nice low-risk fix that would be good to go into 2.20.
Flags: approval? → approval+
Assignee | ||
Updated•20 years ago
|
Attachment #163061 -
Attachment is obsolete: true
Reporter | ||
Updated•20 years ago
|
Target Milestone: --- → Bugzilla 2.20
Comment 10•20 years ago
|
||
Since it seems the whole file could use some identation clean-up, I left myk's minor nit for another patch. Checking in request.cgi; /cvsroot/mozilla/webtools/bugzilla/request.cgi,v <-- request.cgi new revision: 1.16; previous revision: 1.15 done Checking in template/en/default/request/queue.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/request/queue.html.tmpl,v <-- queue.html.tmpl new revision: 1.11; previous revision: 1.10 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•19 years ago
|
Flags: documentation?
Flags: documentation2.20?
Comment 11•19 years ago
|
||
it seems no docs for searching flags so that will be needed but isn't this bug.
Attachment #207862 -
Flags: review?(documentation)
Comment 12•18 years ago
|
||
Comment on attachment 207862 [details] [diff] [review] docs patch for 2.20 v1 you need a blank line between </para> and <para>. > Open flags those requester/requestee is you can be seen from 'My Requests' on the footer. This is not an English sentence. You can browse through open requests made of you and by you by selecting 'My Requests' from the footer. XXX what if the footer is actually not the footer? > You can also query other requester / requestee from this page. Don't use "query", try "browse" or "search" Something like: You can also look at open requests limited by other requesters, requestees, products, components, and flag names from this page. > Note that you can use '-' for requestee to specify flags those are 'no requestee' set. Change "those are" to "with"
Attachment #207862 -
Flags: review?(documentation) → review-
Comment 13•18 years ago
|
||
take timely's comment
Attachment #207862 -
Attachment is obsolete: true
Attachment #211893 -
Flags: review?(documentation)
Attachment #211893 -
Flags: review?(documentation) → review+
Assignee | ||
Comment 14•18 years ago
|
||
Documentation: tip: Checking in docs/xml/using.xml; /cvsroot/mozilla/webtools/bugzilla/docs/xml/using.xml,v <-- using.xml new revision: 1.37; previous revision: 1.36 done 2.20: Checking in docs/xml/using.xml; /cvsroot/mozilla/webtools/bugzilla/docs/xml/using.xml,v <-- using.xml new revision: 1.33.2.3; previous revision: 1.33.2.2 done
Flags: documentation?
Flags: documentation2.20?
Flags: documentation2.20+
Flags: documentation+
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•