order keywords. fixes #219
This commit is contained in:
parent
e3e117588f
commit
4073aa58dc
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ def _order_by_group(query):
|
|||
elif query['group'] != "keyword":
|
||||
order_by = (order_by, 'sortvalue')
|
||||
else:
|
||||
order_by = (order_by,)
|
||||
order_by = (order_by, 'value')
|
||||
else:
|
||||
order_by = query['sort'][0]['operator'] == '-' and '-sortvalue' or 'sortvalue'
|
||||
order_by = (order_by, 'items')
|
||||
|
|
|
@ -33,5 +33,5 @@ if [ $current -ne $new ]; then
|
|||
cd pandora
|
||||
./manage.py update_static
|
||||
./manage.py compile_pyc
|
||||
./manage.py sqldiff -a | grep -v BEGIN | grep -v COMMIT
|
||||
./manage.py sqldiff -a | grep -v BEGIN | grep -v COMMIT | grep -v "\-\- No differences"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue