Closed
Bug 140781
Opened 23 years ago
Closed 23 years ago
There should be a %querylist% macro for the parameters
Categories
(Bugzilla :: User Interface, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: thomas+mozilla, Assigned: myk)
References
Details
Attachments
(2 files)
|
2.75 KB,
patch
|
Details | Diff | Splinter Review | |
|
471 bytes,
patch
|
Details | Diff | Splinter Review |
Right now, the list of saved queries is from GetCommandMenu, but sometimes when
designing pages, you want the Queries to show up in one place, and the
CommandMenu in another spot (if you want that template at all).
I've attached the diff against -current that I've used to greate a GetQueryList
with a %querylist% macro for our own internal use. GetCommandMenu() calls this
to generate it's output.
| Reporter | ||
Comment 1•23 years ago
|
||
| Reporter | ||
Comment 2•23 years ago
|
||
| Reporter | ||
Updated•23 years ago
|
Summary: There should be a GetQueryList for the templates → There should be a %querylist% macro for the parameters
Updated•23 years ago
|
Comment 3•23 years ago
|
||
The Right Thing to do here is templatise GetCommandMenu, which I'm doing over in
bug 140435. This will fix this problem, allowing you to do exactly what you
like, where you like.
Gerv
Depends on: 140435
Updated•23 years ago
|
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Comment 4•23 years ago
|
||
OK. Now that bug 140435 is in, you can get the list of stored queries in any
template as user.queries, which is a list of hashes. Each hash has members name,
query and linkinfooter.
So, you can have a list of stored queries wherever you like :-)
Gerv
Updated•13 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
•