stable

Clone or download

Read-only

feat: Query for Lesser Than Or Equal comparison for numeric fields

How to test: - Enable the feature flag: tuleap config-set feature_flag_cross_tracker_search_duck_typed_fields 1 - Set up two or three trackers with int or float fields. The fields must have the same shortname, for example "initial_effort". - You can write a TQL query to search on initial_effort with lesser than or equal `<=` and a numeric value - Writing a TQL query like `initial_effort <= ''` is not rejected. The search does not yield results but should be raised as a query error. It will be done on a dedicated commit. - You can search on multiple fields and combine results with "AND" / "OR". part of story #10710 search on fields with duck typing Change-Id: I2da745fb619e9bfb5060a4651dd8eb2e05999750

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Field/Numeric/NumericFromWhereBuilder.php +3 −2 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/DuckTypedField/NumericDuckTypedFieldTest.php +30 −1 Go to diff View file