Permalink
Browse files

make tags and creator filters not sticky when starting new search

  • Loading branch information...
1 parent 0fffbc1 commit 3988aa946258697a74e12e98b1f884731a45115d @cguardia cguardia committed Jul 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 karl/views/templates/searchresults.pt
@@ -19,9 +19,9 @@
<div metal:fill-slot="content">
<form method="GET" action=""
- tal:attributes="action request.url">
+ tal:attributes="action request.path_url">
<div class="sras-header">
- <tal:block repeat="name params" omit-tag="">
+ <tal:block repeat="name [p for p in params if p not in ['tags', 'creator']]" omit-tag="">
<input type="hidden" name="${name}"
tal:condition="name != 'body'"
value="${params[name]}"/>

0 comments on commit 3988aa9

Please sign in to comment.