fix sort by description in item view
This commit is contained in:
parent
b4b8e08231
commit
b26c5d282f
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ def _order_query(qs, sort, item=None):
|
|||
operator = ''
|
||||
key = {
|
||||
'name': 'name_sort',
|
||||
'description': 'items__itemproperties__description_sort'
|
||||
'description': 'descriptions__description_sort'
|
||||
if item else 'description_sort',
|
||||
'dimensions': 'dimensions_sort',
|
||||
'index': 'items__itemproperties__index',
|
||||
|
|
Loading…
Reference in a new issue