set/all/autocomplete.rb in card-mod-search-0.17.0 vs set/all/autocomplete.rb in card-mod-search-0.18.0
- old
+ new
@@ -46,5 +46,11 @@
def autocomplete_label
card.name
end
end
+
+format :json do
+ view :select2_option do
+ { id: "~#{card.id}", text: card.name }
+ end
+end