Forbid search with empty criteria.

This commit is contained in:
Sébastien Lucas 2013-09-16 20:33:04 +02:00
parent 2bcd38f4f1
commit 6cb626a1f8

View file

@ -22,7 +22,7 @@
{{? it.databaseId != ""}} {{? it.databaseId != ""}}
<input type="hidden" name="db" value="{{=it.databaseId}}" /> <input type="hidden" name="db" value="{{=it.databaseId}}" />
{{?}} {{?}}
<input type="search" name="query" /> <input type="search" required="required" name="query" />
</div> </div>
</form> </form>
</div> </div>