From 5df5a39a86274d3321b536784fb03d8f6cef68ea Mon Sep 17 00:00:00 2001 From: NRK Date: Mon, 21 Jun 2021 11:45:31 +0600 Subject: [PATCH] fix no match showing all results --- sxbm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sxbm b/sxbm index 54c1636..c3d2ac7 100755 --- a/sxbm +++ b/sxbm @@ -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(){