A platform for community discussion. Free, open, simple.
tag-choosers with everyTag should also be able to get more results
Neil Lalonde6b13fbccc212
diff --git a/lib/discourse_tagging.rb b/lib/discourse_tagging.rbindex 3e71a284a54..7f0cc0a68a7 100644--- a/lib/discourse_tagging.rb+++ b/lib/discourse_tagging.rb@@ -67,7 +67,7 @@ module DiscourseTaggingselected_tag_ids = opts[:selected_tags] ? Tag.where(name: opts[:selected_tags]).pluck(:id) : []- if opts[:for_input] && !selected_tag_ids.empty?+ if !opts[:for_topic] && !selected_tag_ids.empty?query = query.where('tags.id NOT IN (?)', selected_tag_ids)end