Commits

Anonymous committed 861a95c

Remember the search text in the input box when loading the page with the results.

  • Participants
  • Parent commits d9a6ef7

Comments (0)

Files changed (1)

File html/page.html

        <input type="hidden" name="@sort" value="-activity" />
        <input type="hidden" name="@filter" value="status"/>
        <input type="hidden" name="@action" value="searchid"/>
-       <input class="input-text" id="search-text" name="@search_text" size="10" />
+       <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;