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:
parent
4114e54df5
commit
32adc9b2a7
@ -305,7 +305,7 @@ def processing_panel(request):
|
|||||||
# Get media entries which are in-processing
|
# Get media entries which are in-processing
|
||||||
processing_entries = request.db.MediaEntry.find(
|
processing_entries = request.db.MediaEntry.find(
|
||||||
{'uploader': user._id,
|
{'uploader': user._id,
|
||||||
'state': 'processing'}).sort('created', DESCENDING)
|
'state': 'unprocessed'}).sort('created', DESCENDING)
|
||||||
|
|
||||||
# Get media entries which have failed to process
|
# Get media entries which have failed to process
|
||||||
failed_entries = request.db.MediaEntry.find(
|
failed_entries = request.db.MediaEntry.find(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user