fix: remove inner ORDER BY to prevent sqlPaging conflict
This commit is contained in:
parent
7a267558a3
commit
9c7a39e519
@ -46,7 +46,6 @@ LEFT JOIN discount_detail dd ON dd.productid = p.id
|
||||
LEFT JOIN discount_detail base_dd ON base_dd.productid = p.id
|
||||
AND base_dd.discountid = ${base_discountid}$
|
||||
WHERE p.org_id = ${org_id}$ AND p.status = '1'
|
||||
ORDER BY pc.name, p.product_name
|
||||
'''
|
||||
|
||||
debug(f'get_products_with_discount: org_id={user_orgid}, discountid={discountid}, dbname={dbname}, base_discountid={ns["base_discountid"]}')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user