[patch] order_by breaks with a table_prefix and column descending.
If using a table and column from extra()
(i.e. {'select':{'media':'select media from product where ... }})
in order_by(product.-media) and the intended column is to be sorted in descending order, the query_set breaks as ascending/descending is tested prior to determining whether a table_prefix exists.
Change History
(4)
Summary: |
[magic-removal] order_by breaks with a table_prefix and column descending. → [patch] order_by breaks with a table_prefix and column descending.
|
Resolution: |
→ duplicate
|
Status: |
new → closed
|
query.py patch