move saved search option to sidebar

This commit is contained in:
r888888888
2017-03-20 16:19:15 -07:00
parent 73895a1a27
commit 70d057f8f3
10 changed files with 128 additions and 8 deletions

View File

@@ -110,6 +110,6 @@ class SavedSearch < ActiveRecord::Base
end
def label_string=(val)
self.labels = val.scan(/\S+/).map {|x| SavedSearch.normalize_label(x)}
self.labels = val.to_s.scan(/\S+/).map {|x| SavedSearch.normalize_label(x)}
end
end