Commit bb88bbf8 authored by bbaetz%acm.org's avatar bbaetz%acm.org

316146 - 'Add bugs to new saved search' has empty <select>

r=lpsolit, a=justdave
parent d6ec14ac
......@@ -24,15 +24,18 @@
<input type="hidden" name="add_bugids" value="1">
<input type="submit" value="Add"> [% terms.bugs %]
<input type="text" name="bug_ids" size="8" maxlength="80"> to
<select name="oldqueryname">
[% foundq = 0 %]
[% FOREACH q = user.queries %]
[% IF q.query_type == constants.LIST_OF_BUGS %]
[% NEXT UNLESS q.query_type == constants.LIST_OF_BUGS %]
[% IF !foundq %]
[% foundq = 1 %]
<select name="oldqueryname">
[% END %]
<option value="[% q.name FILTER html %]">
[% q.name FILTER html %]</option>
[% END %]
[% END %]
</select>
or to the new saved search:
[% "</select> or to " IF foundq %]
the new saved search:
<input type="text" name="newqueryname" size="20" maxlength="64">
</form>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment