You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
specificQueryForClient['iso_code_contains'] = qValue; // Added back
166
167
}
167
168
default:
168
169
// For other models, pass through all non-standard query params directly.
@@ -541,11 +542,11 @@ Model: `category`
541
542
542
543
Model: `country`
543
544
544
-
20. Filter by text query `q` for countries (name only):
545
+
20. Filter by text query `q` for countries (name and iso_code):
545
546
- URL: `/api/v1/data?model=country&q=United`
546
547
- Expected: Countries where "United" appears in the name.
547
548
548
-
21. Filter by text query `q` for countries (name only, to match "US" if a country name contains "US"):
549
+
21. Filter by text query `q` for countries (name and iso_code):
549
550
- URL: `/api/v1/data?model=country&q=US`
550
551
- Expected: Country with name containing "US". (Note: This test's expectation might need adjustment if no country name contains "US" but its isoCode is "US". The current `q` logic for country only searches name).
0 commit comments