Merge pull request #2967 from rahulcs0082/development

Development
This commit is contained in:
Jitendra Singh 2020-04-29 16:36:02 +05:30 committed by GitHub
commit 89174f0c39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -264,7 +264,7 @@ class ProductRepository extends Repository
->where('product_flat.new', 1)
->where('product_flat.channel', $channel)
->where('product_flat.locale', $locale)
->orderBy('product_id', 'desc');
->inRandomOrder();
})->paginate(4);
return $results;
@ -289,7 +289,7 @@ class ProductRepository extends Repository
->where('product_flat.featured', 1)
->where('product_flat.channel', $channel)
->where('product_flat.locale', $locale)
->orderBy('product_id', 'desc');
->inRandomOrder();
})->paginate(4);
return $results;