Move status_get outside index

This commit is contained in:
Ruud
2014-03-21 14:49:44 +01:00
parent 27e4800ed2
commit 89c83001ca
7 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ class Dashboard(Plugin):
limit = tryInt(splt[0])
# Get all active medias
active_ids = [x['_id'] for x in db.run('media', 'with_status', 'active', with_doc = False)]
active_ids = [x['_id'] for x in fireEvent('media.with_status', 'active', with_doc = False, single = True)]
medias = []
now_year = date.today().year