Let tags on this page buttons execute search immediately.

1. When the list is long, scrolling back up to hit to search
button is annoying.
2. If you select too many, there's no way to know if you're
going to wind up constructing a search with 0 results thus
wasting your time.
master
voussoir 2020-04-02 22:52:33 -07:00
parent db43cac583
commit 0e0f296270
1 changed files with 3 additions and 0 deletions

View File

@ -599,6 +599,7 @@ function tags_on_this_page_add_must(event, tagname)
inputted_musts, inputted_musts,
"search_builder_musts_inputted" "search_builder_musts_inputted"
); );
submit_search();
return false; return false;
} }
function tags_on_this_page_add_may(event, tagname) function tags_on_this_page_add_may(event, tagname)
@ -609,6 +610,7 @@ function tags_on_this_page_add_may(event, tagname)
inputted_mays, inputted_mays,
"search_builder_mays_inputted" "search_builder_mays_inputted"
); );
submit_search();
return false; return false;
} }
function tags_on_this_page_add_forbid(event, tagname) function tags_on_this_page_add_forbid(event, tagname)
@ -619,6 +621,7 @@ function tags_on_this_page_add_forbid(event, tagname)
inputted_forbids, inputted_forbids,
"search_builder_forbids_inputted" "search_builder_forbids_inputted"
); );
submit_search();
return false; return false;
} }