Browse Source
Merge pull request #26401 from marination/order-by-weightage-for-web-items-develop
fix: Order Items by weightage in the web items query
develop
Marica
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
erpnext/shopping_cart/product_query.py
|
|
@ -87,7 +87,8 @@ class ProductQuery: |
|
|
|
filters=self.filters, |
|
|
|
or_filters=self.or_filters, |
|
|
|
start=start, |
|
|
|
limit=self.page_length |
|
|
|
limit=self.page_length, |
|
|
|
order_by="weightage desc" |
|
|
|
) |
|
|
|
|
|
|
|
# Combine results having context of website item groups into item results |
|
|
|