Panel: Find "unprocessed" not "processing" entries.

Our entries in the queue are marked as "unprocessed" and
not as "processing" as the panel code wanted it to be. So
search for the correct string.
This commit is contained in:
Elrond 2012-03-21 12:08:53 +01:00
parent 4114e54df5
commit 32adc9b2a7

View File

@ -305,7 +305,7 @@ def processing_panel(request):
# Get media entries which are in-processing
processing_entries = request.db.MediaEntry.find(
{'uploader': user._id,
'state': 'processing'}).sort('created', DESCENDING)
'state': 'unprocessed'}).sort('created', DESCENDING)
# Get media entries which have failed to process
failed_entries = request.db.MediaEntry.find(