[Tracker-discuss] [issue645] Searching for open bugs sets the button to all
Berker Peksag
metatracker at psf.upfronthosting.co.za
Sat Jun 9 16:59:59 EDT 2018
Berker Peksag <berker.peksag at gmail.com> added the comment:
Here's a patch to fix this issue.
----------
nosy: +berker.peksag, ezio.melotti
status: unread -> chatting
_______________________________________________________
PSF Meta Tracker <metatracker at psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue645>
_______________________________________________________
-------------- next part --------------
diff --git a/html/page.html b/html/page.html
--- a/html/page.html
+++ b/html/page.html
@@ -42,20 +42,21 @@ status_all string:-1,1,2,3;
<input type="hidden" name="@filter" value="status"/>
<input type="hidden" name="@action" value="searchid"/>
<input type="hidden" name="ignore" value="file:content"/>
<input tal:attributes="value python:request.form.getvalue('@search_text') or nothing;"
class="input-text" id="search-text" name="@search_text" size="10" />
<input type="submit" id="submit" value="search" name="submit"
class="input-button"/>
<input type="radio" name="status" tal:attributes="value status_notresolved;
+ checked python:request.form.getvalue('status') == status_notresolved;
id string:status_notresolved"/>
<label for="status_notresolved">open</label>
<input type="radio" name="status" tal:attributes="value status_all;
- checked string:checked;
+ checked python:request.form.getvalue('status') == status_all;
id string:status_all"/>
<label for="status_all">all</label>
</div>
</form>
</div>
</div>
More information about the Tracker-discuss
mailing list