update store order

This commit is contained in:
franknstayn
2022-04-02 20:17:28 +08:00
parent 80bf7e6c67
commit 9936f33c05
2 changed files with 4 additions and 4 deletions

View File

@@ -61,9 +61,9 @@ class TeamStoreController extends Controller
$product_array = $m->filterTeamstoreProducts('TeamStoreId', $store_array[0]->Id, $field, $sort_value);
}
} else {
$field = "ProductName";
$field = "Ordering";
$sort_value = "ASC";
$sort = "al-asc";
$sort = "";
$product_array = $m->filterTeamstoreProducts('TeamStoreId', $store_array[0]->Id, $field, $sort_value);
}