updated for designer
This commit is contained in:
@@ -18,7 +18,7 @@ class TeamStoreModel extends Model {
|
||||
{
|
||||
$i = DB::table('teamstore_products')
|
||||
->where($field, $teamstoreId)
|
||||
->orderBy('Ordering', 'ASC')
|
||||
// ->orderBy('Ordering', 'ASC')
|
||||
->orderBy('Ordering', 'ASC')->get();
|
||||
return $i;
|
||||
}
|
||||
@@ -224,7 +224,17 @@ class TeamStoreModel extends Model {
|
||||
$i = DB::table('teamstores')
|
||||
->where("IsActive", "true")
|
||||
->orderby($field, $value)
|
||||
->paginate(16);
|
||||
->paginate(12);
|
||||
return $i;
|
||||
}
|
||||
|
||||
|
||||
function selectFeaturedProduct(){
|
||||
|
||||
$i = DB::table('teamstore_products')
|
||||
->where("IsActive", "true")
|
||||
// ->orderby($field, $value)
|
||||
->paginate(12);
|
||||
return $i;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user