From 1d13b8aa3690dfe4e762ae98f6f950a03801cfbf Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Tue, 17 Jan 2017 14:23:51 +0200 Subject: [PATCH] rm node nodule --- frontend/models/ProductFrontendSearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/models/ProductFrontendSearch.php b/frontend/models/ProductFrontendSearch.php index e6d8bd6..ffd0985 100755 --- a/frontend/models/ProductFrontendSearch.php +++ b/frontend/models/ProductFrontendSearch.php @@ -159,7 +159,7 @@ class ProductFrontendSearch extends Product { ProductHelper::_setQueryParams($query, $params); - return $query->orderBy('product_variant.stock DESC'); + return $query->orderBy('product_variant.price DESC'); } public function optionsForCategory($category = null, $params = []) { -- libgit2 0.21.4