Commit 54e9b6e
committed
Enhance attribute value retrieval by adding 'label' field selection
This commit updates the getAttributeValueByAttributeId method in the ListCategoryController to include the 'label' field in the selection of attribute values. Additionally, the migration for the attribute_values table is modified to add a nullable 'label' column, improving the data structure and enhancing the information returned for attribute values.1 parent 785a9e2 commit 54e9b6e
File tree
2 files changed
+2
-1
lines changed- app/Http/Controllers
- database/migrations
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments