Discussion:
Purpose of list_id URL parameter?
Jesse Weinstein
2013-01-28 22:40:38 UTC
Permalink
I noticed that bugzilla queries have a list_id parameter specified, that
changes when the same query is supplied multiple times.



Doing a websearch turns up mentions of it in discussions of saving
recent searches, so they can be displayed and re-run, e.g.

https://bugzilla.mozilla.org/show_bug.cgi?id=615574

http://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/User.html#Saved_Re
cent_Bug_Lists



Doing a search in
http://bzr.mozilla.org/bugzilla/trunk/changes?q=list_id brings up
http://bzr.mozilla.org/bugzilla/trunk/revision/7210, the earliest
revision to mention list_id, which is linked to
https://bugzilla.mozilla.org/show_bug.cgi?id=24896 which suggests the
purpose of list_id is to "Make the First/Last/Prev/Next navigation on
bugs work with multiple buglists at once".



In order to help future searchers, I thought I'd write this up and send
it here. Also, I may have got it wrong - is the above actually a good
description of the purpose of list_id?



Thanks for making (and maintaining) this excellent tool!
Gervase Markham
2013-01-29 10:53:17 UTC
Permalink
Post by Jesse Weinstein
In order to help future searchers, I thought I'd write this up and send
it here. Also, I may have got it wrong - is the above actually a good
description of the purpose of list_id?
Yes, that is exactly its purpose. It allows Bugzilla to maintain
multiple independent navigable lists of bugs for a user. Before it
existed, there was simply a single cookie, and so if you did another
search, it squished your first one.

Gerv

Loading...