Page MenuHomePhabricator

need extra parameters in ask queries
Closed, ResolvedPublic


Author: mrandmrsmurphy

In ask queries, it would be very helpful to be able to pass an extra parameter to templates.

When format=template there could be an additional parameter:

template=Generic letterman
userparam=whatever you want to pass to your template

without this enhancement, SMW users are dependent upon Extension:Variables, an under developed extension.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:10 PM
bzimport set Reference to bz14440.

So what you wish is that the template receives a parameter called "userparam" when being used in the query?

OK, done in SVN. Not sure if "userparam" is very obvious, but that is how it is called now (I can change that until release). The function is available both for format template and list (which both support templates).