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:
2024-12-31 15:13:17 +11:00
parent b34b71bf32
commit 37c0125fbd
4 changed files with 10 additions and 4 deletions

View File

@@ -68,7 +68,7 @@
</button>
<span class="sm-txt my-auto">&nbsp;{{OPT.how_many}} files&nbsp;</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">