Mengubah urutan berdasarkan Nomor KJPP secara ascending
This commit is contained in:
@@ -477,8 +477,8 @@ class KJPPController extends Controller
|
||||
//abort(403, 'Sorry! You are not allowed to view users.');
|
||||
}
|
||||
|
||||
// Retrieve data from the database
|
||||
$query = KJPP::query();
|
||||
// Retrieve data from the database order by code ascending
|
||||
$query = KJPP::query()->orderBy('code', 'asc');
|
||||
|
||||
// Apply search filter if provided
|
||||
if ($request->has('search') && !empty($request->get('search'))) {
|
||||
|
||||
Reference in New Issue
Block a user