Closed Bug 345826 Opened 18 years ago Closed 18 years ago

Ability to save column list in saved searches

Categories

(Bugzilla :: Query/Bug List, enhancement, P2)

2.22
enhancement

Tracking

()

RESOLVED FIXED
Bugzilla 3.2

People

(Reporter: weigelt, Assigned: romaia)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060719 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060719 View of stored seaches should be customizable, so can ie. define Fields to be displayed there too. Reproducible: Always
Could you describe in a little more detail what you'd like?
I'd like to be able to store also the fields to show, sort order, etc. with the search. For example if I search for bugs in some certain product, I obviously don't need the product name in the output.
So Saved Searches don't currently save the columnlist parameter?
OS: Linux → All
Hardware: PC → All
Summary: Feature Request: customizable search view → Ability to save column list in saved searches
Version: unspecified → 2.22
No, no that I no, do they ?
I am running into this, and it some kind of bug, maybe a design bug. If I save the URL from a previous buglist, with columnlist set, bugzilla sucks it in, and ignores it. The new url that shows up has the columnlist changed. This is on Bugzilla 2.22.
Attached patch v1 (deleted) — Splinter Review
Hey LpSolit--this is romaia's patch--you've actually already reviewed it once. :-) Do you think it needs any changes in order to go upstream? I like it pretty well.
Assignee: query-and-buglist → mkanat
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #257617 - Flags: review?(LpSolit)
Target Milestone: --- → Bugzilla 3.2
Priority: -- → P2
Comment on attachment 257617 [details] [diff] [review] v1 Should maybe some of the colchange.cgi parts be less hackish? That is, are there some security things that could be moved into Search::Saved?
Comment on attachment 257617 [details] [diff] [review] v1 >=== modified file 'colchange.cgi' >+ if ($cgi->param('save_columns_for_search') && >+ defined $search && $search->user->id == Bugzilla->user->id) { Nit: use Bugzilla's style here, i.e.: if ($long_line_1 && $long_line_2) { I didn't complain on b.e.c because this was a very minor thing. ;) >=== modified file 'template/en/default/list/change-columns.html.tmpl' >+ [% IF saved_search %] >+ <p> Nit: please fix the indentation. >+ <input type="checkbox" id="save_columns_for_search" checked="checked" Just one comment: note that the checkbox is crossed by default, which is a different behavior compared to what we have currently. But I think that's fine and is probably the right default (especially because this will only affects existing saved searches). All my other comments have already been addressed in this patch, so r=LpSolit. Note to the one doing the checkin: the author of the patch is romaia!
Attachment #257617 - Flags: review?(LpSolit) → review+
Reassigning to the original patch's author -> romaia.
Assignee: mkanat → romaia
Status: ASSIGNED → NEW
Flags: approval+
Thanks to Adobe for sponsoring this work, by the way. Checking in colchange.cgi; /cvsroot/mozilla/webtools/bugzilla/colchange.cgi,v <-- colchange.cgi new revision: 1.59; previous revision: 1.58 done 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.14; previous revision: 1.13 done
Status: NEW → RESOLVED
Closed: 18 years ago
Keywords: relnote
Resolution: --- → FIXED
Added to the release notes for Bugzilla 3.2 in a patch on bug 432331.
Keywords: relnote
Blocks: 443479
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: