Files
nairobi/spec/models
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-10-01 16:19:10 +02:00
2019-05-31 18:22:59 +02:00
2019-03-27 15:22:14 +01:00
2021-08-13 04:39:44 +02:00
2022-02-21 18:47:13 +01:00