Commit 0ebd0b8
Make spec filtering more robust with case-insensitive matching
- Updated SearchLevel2ModelsQueryHandler to handle multiple spec name formats:
- Seats: 'Seats' or 'seats' (case-insensitive)
- Fuel Type: 'Fuel Type', 'fuelType', or 'fuel_type' (case-insensitive)
- Updated SearchVehiclesQueryHandler with same robust matching
- Now handles different possible database formats for spec names
- Build successful with no compilation errors1 parent 4353312 commit 0ebd0b8
File tree
3 files changed
+19
-4
lines changed- VehicleShowroomManagement/src
- Application/Features
- VehicleModels/Queries/SearchLevel2Models
- Vehicles/Queries/SearchVehicles
- WebAPI/obj/Debug/net8.0
3 files changed
+19
-4
lines changedLines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
20 | 28 | | |
21 | 29 | | |
22 | 30 | | |
| |||
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
22 | 29 | | |
23 | 30 | | |
24 | 31 | | |
| |||
Binary file not shown.
0 commit comments