Files
nairobi/config/initializers
Javi Martín 2e863fdc51 Fix OR condition in public taggings
In SQL, conditions like:

```
tag_id IN (x) AND taggable_type='Debate' OR taggable_type='Proposal'
```

Don't work as intended; we need to write:

```
tag_id IN (x) AND (taggable_type='Debate' OR taggable_type='Proposal')
```

Due to this bug, we were returning taggings for proposals without
intending to do so.

Since the code was very hard to read, we're also simplifying it.
2022-03-21 20:43:50 +01:00
..
2021-08-15 01:26:29 +02:00
2015-07-15 13:32:13 +02:00
2020-06-16 13:47:38 +02:00
2019-04-16 17:28:06 +02:00
2015-07-15 13:32:13 +02:00
2020-12-02 12:13:02 +01:00
2017-04-03 12:30:57 +02:00
2015-07-15 13:32:13 +02:00
2019-04-16 17:28:06 +02:00