Closed Bug 443479 Opened 15 years ago Closed 15 years ago

Clicking "Reset to Bugzilla default" when editing columns for a saved search does not reset them properly

Categories

(Bugzilla :: Query/Bug List, defect)

3.1.1
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 3.2

People

(Reporter: dkl, Assigned: dkl)

References

Details

Attachments

(1 file)

When editing the columns for a saved search (having the "Save this column list only for search 'saved_search'" checkbox on) you can check the columns you want to display when viewing the saved search bug list. When clickng "Reset to Bugzilla default" and having the saved search checkbox enabled that you would resetting the columns for that saved search back to the Bugzilla default columns list. But the way the template is setup clicking the reset submit button will only reset the global columns list back to the default and not the columns for the saved search. This is confusing to me. It should only reset the global column list if you are not editing a saved search or the checkbox is disabled.

Attaching a patch to fix the behaviour to clear the columns for a saved search.

Dave
Attachment #328028 - Flags: review?(mkanat)
Severity: normal → minor
OS: Linux → All
Hardware: PC → All
Comment on attachment 328028 [details] [diff] [review]
Patch to allow setting back to default column list for saved search (v1)

Works fine. Thanks!
Attachment #328028 - Flags: review?(mkanat) → review+
Flags: approval3.2+
Flags: approval+
Target Milestone: --- → Bugzilla 3.2
Depends on: 345826
Version: unspecified → 3.1.1
3.2:
Checking in template/en/default/list/change-columns.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/list/change-columns.html.tmpl,v  <--  change-columns.html.tmpl
new revision: 1.16.2.1; previous revision: 1.16
done

tip:
Checking in template/en/default/list/change-columns.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/list/change-columns.html.tmpl,v  <--  change-columns.html.tmpl
new revision: 1.17; previous revision: 1.16
done
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.