fix no match showing all results

This commit is contained in:
NRK
2021-06-21 11:45:31 +06:00
parent 9bee3043c8
commit 5df5a39a86

6
sxbm
View File

@ -132,9 +132,9 @@ bm_list(){
"$DATA_FILE"
}
[ -n "$QUERY_TITLE" ] &&
__tag_search | eval "$QUERY_TITLE" ||
__tag_search
[ -z "$QUERY_TITLE" ] &&
__tag_search ||
__tag_search | eval "$QUERY_TITLE"
}
bm_open(){