]> git.parisson.com Git - telemeta.git/commitdiff
add redirection when no query in quicksearch
authorafilsaime <shadow_kungfu@hotmail.fr>
Fri, 12 Jun 2015 13:23:55 +0000 (15:23 +0200)
committerafilsaime <shadow_kungfu@hotmail.fr>
Fri, 12 Jun 2015 13:23:55 +0000 (15:23 +0200)
telemeta/templates/search/search.html

index dde6aa6e925c4125fffe44dcb3f4b79a19934773..f8c1c720c04d320fd77a3efb5d636a4746bbf82a 100644 (file)
             {% endif %}
             </form>
         {% else %}
-            {# Show some example queries to run, maybe query syntax, something else? #}
+            <meta http-equiv="REFRESH" content="0;url={% url "haystack_search" %}?q=+">
         {% endif %}
     </form>
 {% endblock %}