Return uncategorized incidents as well

This commit is contained in:
Arne Schlüter 2015-02-07 21:58:17 +01:00
commit 2ee455d3c4

View file

@ -26,7 +26,7 @@ def articles():
c = cursor.execute("""
SELECT article.id, article.date, article.place, article.description, category.name
FROM article
JOIN category ON article.id = category.article_id
LEFT OUTER JOIN category ON article.id = category.article_id
""")
articles = {}