Open
Bug 306800
Opened 19 years ago
Updated 2 years ago
editcomponents.cgi should edit by default if no action specified and product and component are given
Categories
(Bugzilla :: Administration, task)
Tracking
()
ASSIGNED
People
(Reporter: timeless, Assigned: bugzilla)
References
()
Details
Attachments
(1 file)
435 bytes,
patch
|
LpSolit
:
review-
|
Details | Diff | Splinter Review |
i didn't specify &action=edit because i couldn't guess that, i shouldn't need to. expected results, &action=edit should be optional for things that make sense.
Updated•19 years ago
|
Summary: this url should do what i want → editcomponents.cgi should edit by default if no action specified and product and component are given
Comment 2•19 years ago
|
||
Comment on attachment 194710 [details] [diff] [review] default editcomponents action to edit if component and product supplied v1 > my $component = trim($cgi->param('component') || ''); > my $action = trim($cgi->param('action') || ''); > >+ # If we have a product and a component but no action, then we might as >+ # well edit it >+ if (!$action && $product && $component) { $action = 'edit'; } $component is now $comp_name. And the way editcomponents.cgi now works has changed a bit.
Attachment #194710 -
Flags: review? → review-
You need to log in
before you can comment on or make changes to this bug.
Description
•