We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0128dc commit 541e982Copy full SHA for 541e982
app/models/search/tag_search_form.rb
@@ -46,9 +46,10 @@ def set_fandoms
46
end
47
48
def set_wrangling_status
49
- return unless @options[:canonical]
+ return unless @options[:canonical].present?
50
51
- @options[:wrangling_status] = "canonical"
+ @options[:wrangling_status] = "canonical" if @options[:canonical] = "T"
52
+ @options[:wrangling_status] = "noncanonical" if @options[:canonical] = "F"
53
54
55
def sort_columns
0 commit comments