Skip to content

Commit 4e28650

Browse files
committed
Specify table name in select
Signed-off-by: snipe <[email protected]>
1 parent a060f60 commit 4e28650

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

app/Http/Controllers/Api/AssetModelsController.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ public function index(Request $request) : JsonResponse | array
5656
'models.id',
5757
'models.image',
5858
'models.name',
59-
'model_number',
60-
'min_amt',
61-
'eol',
62-
'created_by',
63-
'requestable',
59+
'models.model_number',
60+
'models.min_amt',
61+
'models.eol',
62+
'models.created_by',
63+
'models.requestable',
6464
'models.notes',
6565
'models.created_at',
66-
'category_id',
67-
'manufacturer_id',
68-
'depreciation_id',
69-
'fieldset_id',
66+
'models.category_id',
67+
'models.manufacturer_id',
68+
'models.depreciation_id',
69+
'models.fieldset_id',
7070
'models.deleted_at',
7171
'models.updated_at',
7272
])

0 commit comments

Comments
 (0)