ThibG 9870b175b4
Fix possible inconsistencies in tag search (#14906)
Do not downcase the queried tag before passing it to postgres when searching:
- tags are not downcased on creation
- `arel_table[:name].lower.matches(pattern)` generates an ILIKE anyway
- if Postgres and Rails happen to use different case-folding rules,
  downcasing before query but not before insertion may mean that some
  tags with some casings are not searchable
2020-11-12 18:35:23 +01:00
..
2017-11-24 02:05:53 +01:00
2020-01-23 22:00:13 +01:00
2020-01-23 22:00:13 +01:00
2020-06-02 19:24:53 +02:00
2020-05-24 09:15:23 +02:00
2019-07-30 11:10:46 +02:00
2020-10-12 16:33:49 +02:00
2017-11-18 00:16:48 +01:00
2020-06-02 19:24:53 +02:00
2020-06-02 19:24:53 +02:00
2019-12-01 17:24:33 +01:00
2020-06-02 19:24:53 +02:00
2020-10-12 16:33:49 +02:00
2017-01-13 03:24:41 +01:00