diff --git a/client/html/help_search_posts.tpl b/client/html/help_search_posts.tpl index 85dffce0..d1097b79 100644 --- a/client/html/help_search_posts.tpl +++ b/client/html/help_search_posts.tpl @@ -38,6 +38,10 @@ fav favorited by given user (accepts wildcards) + + source + having given source URL (accepts wildcards) + tag-count having given number of tags diff --git a/server/szurubooru/search/configs/post_search_config.py b/server/szurubooru/search/configs/post_search_config.py index 3d5b0eea..a1628ecb 100644 --- a/server/szurubooru/search/configs/post_search_config.py +++ b/server/szurubooru/search/configs/post_search_config.py @@ -230,6 +230,11 @@ class PostSearchConfig(BaseSearchConfig): _create_score_filter(-1) ), + ( + ['source'], + search_util.create_str_filter(model.Post.source) + ), + ( ['tag-count'], search_util.create_num_filter(model.Post.tag_count)