azmayesh sort columns
This commit is contained in:
@@ -31,6 +31,10 @@ class AzmayeshController extends Controller
|
||||
'work_number',
|
||||
'consultant',
|
||||
'applicant',
|
||||
'azmayesh_type_name',
|
||||
'project_name',
|
||||
'updated_at',
|
||||
'created_at'
|
||||
);
|
||||
|
||||
$allowedFilters = $columns;
|
||||
|
||||
@@ -23,7 +23,7 @@ class AzmayeshSampleController extends Controller
|
||||
public function index(Request $request, string $azmayesh_id): JsonResponse
|
||||
{
|
||||
$columns = array(
|
||||
'id',
|
||||
'id', 'updated_at', 'created_at'
|
||||
);
|
||||
|
||||
$allowedFilters = $columns;
|
||||
|
||||
@@ -20,7 +20,7 @@ class AzmayeshTypeController extends Controller
|
||||
public function index(Request $request): JsonResponse
|
||||
{
|
||||
$columns = array(
|
||||
'id', 'name'
|
||||
'id', 'name', 'updated_at', 'created_at'
|
||||
);
|
||||
|
||||
$allowedFilters = $columns;
|
||||
|
||||
Reference in New Issue
Block a user