From: Elrond Date: Wed, 21 Mar 2012 11:08:53 +0000 (+0100) Subject: Panel: Find "unprocessed" not "processing" entries. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=32adc9b2a7ddfdaad84960cde5c7d8e2b1fdb3d2;p=mediagoblin.git 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. --- diff --git a/mediagoblin/user_pages/views.py b/mediagoblin/user_pages/views.py index 6eff684c..e69a6ffe 100644 --- a/mediagoblin/user_pages/views.py +++ b/mediagoblin/user_pages/views.py @@ -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(