Fixed BUG-136, now can search with a * or % as wildcards, and fix bug where no search results broke pa
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<script>
|
||||
function HandleSearch()
|
||||
{
|
||||
st=$('#search_term').val();
|
||||
st=encodeURIComponent( $('#search_term').val() )
|
||||
if( st != '' ) {
|
||||
document.location.href='/search/'+st
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
</button>
|
||||
<span class="sm-txt my-auto"> {{OPT.how_many}} files </span>
|
||||
{% set nxt_disabled="" %}
|
||||
{% if entry_data and entry_data|length < OPT.how_many|int %}
|
||||
{% if not entry_data or entry_data and entry_data|length < OPT.how_many|int %}
|
||||
{% set nxt_disabled="disabled" %}
|
||||
{% endif %}
|
||||
<button aria-label="next" id="next" {{nxt_disabled}} name="next" class="next sm-txt btn btn-outline-secondary">
|
||||
|
||||
Reference in New Issue
Block a user