Commit 5f8c098
committed
Enhance allProducts method in ProductListController to support gender filtering
This commit adds functionality to the allProducts method, allowing products to be filtered by gender. It introduces a new query condition that processes the 'gender' input, improving the product listing experience by enabling users to view products based on their selected gender.1 parent 0fcb464 commit 5f8c098
File tree
2 files changed
+6
-0
lines changed- app/Http
- Controllers/Product
- Resources
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
106 | 111 | | |
107 | 112 | | |
108 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments