manual item upload
This commit is contained in:
@@ -32,7 +32,10 @@ class TeamStoreModel extends Model {
|
||||
|
||||
function getProductThumbnails($productId){
|
||||
|
||||
$i = DB::table('teamstore_product_thumbnails')->where('ProductId', $productId)->get();
|
||||
$i = DB::table('teamstore_product_thumbnails')
|
||||
->where('ProductId', $productId)
|
||||
->orderby('Ordering', 'ASC')
|
||||
->get();
|
||||
return $i;
|
||||
}
|
||||
|
||||
@@ -55,7 +58,10 @@ class TeamStoreModel extends Model {
|
||||
|
||||
function getThumbnails($productId){
|
||||
|
||||
$i = DB::table('teamstore_product_thumbnails')->where('ProductId', $productId)->get();
|
||||
$i = DB::table('teamstore_product_thumbnails')
|
||||
->where('ProductId', $productId)
|
||||
->orderby('Ordering', 'ASC')
|
||||
->get();
|
||||
return $i;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user