From cddf742efd54c759f264cb7264d90653d086f746 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 17 Oct 2014 17:49:01 +0200 Subject: [PATCH] partTitle->part_title, fixes #2515 --- pandora/archive/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora/archive/views.py b/pandora/archive/views.py index df3a2a3c..b1795844 100644 --- a/pandora/archive/views.py +++ b/pandora/archive/views.py @@ -493,7 +493,8 @@ def _order_query(qs, sort, prefix=''): 'id': 'item__public_id', 'users': 'instances__volume__user__username', 'resolution': 'width', - 'path': 'sort_path' + 'path': 'sort_path', + 'partTitle': 'part_title', }.get(e['key'], e['key']) #if operator=='-' and '%s_desc'%key in models.ItemSort.descending_fields: # key = '%s_desc' % key