stable

Clone or download

Read-only

Do not duplicate results with != OPEN()

Part of story #10702: define a query with status semantic Given a tracker semantic status field with 3 open values and 3 closed values And a closed artifact with title = 'Lorem ipsum' And a closed artifact with title = 'Typo in title' When you cross-tracker-search `@status != OPEN() or @title = 'typo'` Then it should not duplicate artifacts in the results set. It introduce a IN clause, however according to the EXPLAIN, it is the best tradeoff we found to avoid a DISTINCT in the main SELECT. Change-Id: I416bb106ad5f59fc0d15e1fe928c4f099dfde92e

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Semantic/Status/NotEqualComparisonFromWhereBuilder.php +17 −13 Go to diff View file