diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-12-11 20:04:53 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-12-11 20:04:53 -0600 |
commit | 9a435494c2efdd2ca8fc7f5fa3dbb81bf88633a1 (patch) | |
tree | 376b3fa1570b7d0abf85e5580cc48eecdc407129 /app/lib | |
parent | 3dc62460b00acea03d6010b08677031332399d2c (diff) |
move normalized text into own table
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/bangtags.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb index 1b27f712e..5d8389892 100644 --- a/app/lib/bangtags.rb +++ b/app/lib/bangtags.rb @@ -717,7 +717,7 @@ class Bangtags q = cmd[1..-1].join.strip next if q.blank? begin - data = @account.statuses.where('normalized_text ~ ?', expand_search_query(q)) + data = @account.statuses.regex(expand_search_query(q)) .reorder(:created_at) .pluck(:created_at) .map { |d| d.strftime('%Y-%m') } |