Phuks-co / throat

Open Source link aggregator and discussion platform powering Phuks
https://phuks.co
MIT License
74 stars 32 forks source link

SQLite error on recent activity query #246

Closed happy-river closed 3 years ago

happy-river commented 4 years ago

The easiest way to reproduce this is to run the tests, since they use SQLite:

python -m pytest

Result: Several tests fail with "peewee.OperationalError: ORDER BY clause should come after UNION not before" at the last line of recent_activity in misc.py.

Polsaker commented 3 years ago

Disabled recent activity when the sqlite driver is in use in 85b3bdd for now, since it won't be an easy fix