pools: allow searching pools by post tags.

Find all pools containing at least one post tagged 'translated':

    https://danbooru.donmai.us/pools?search[post_tags_match]=translated
This commit is contained in:
evazion
2019-09-06 17:54:07 -05:00
parent a9b7503aa7
commit 886ee16911
3 changed files with 30 additions and 0 deletions

View File

@@ -19,6 +19,15 @@
</td>
</tr>
<tr>
<th><label for="search_post_tags">Post Tags</th>
<td>
<div class="input">
<%= text_field "search", "post_tags_match", :value => params[:search][:post_tags_match], :data => { autocomplete: "tag-query" } %>
</div>
</td>
</tr>
<tr>
<th><label for="search_creator_name">Creator</th>
<td>