Update feature sort jenis emas

This commit is contained in:
amirhassan
2024-03-14 09:28:12 +08:00
parent fc4c5f4e84
commit ce41e2e7db
3 changed files with 74 additions and 1 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class MarhunController extends Controller
}
public function getAllJemas(){
$jemas = Jemas::on('mysql7')->get();
$jemas = Jemas::on('mysql7')->orderBy('ordernum', 'asc')->get();
return response()->json($jemas);
}