lib/foursquare2.rb in foursquare2-0.9.6 vs lib/foursquare2.rb in foursquare2-0.9.8
- old
+ new
@@ -8,10 +8,10 @@
def filter tips, term
tip = []
unless tips.nil?
tips.items.each do |check_tip|
- tip << check_tip if check_tip.text.include? term
+ tip << check_tip if check_tip.text.downcase.include? term.downcase
end
end
{:count => tip.count,:items => tip}
end