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
I think that it needs to be fixed in Pulp, because:
Similar request with OR criteria works fine i.e. returns expected result when one of the conditions involves a date type field.
I don't think this is actually true (Rajul, can you check?)
And although the AND case can be worked around fairly easily by using a dict instead of a list as described here, the same workaround isn't possible for OR.
Summary
AND criteria having one of the criteria with the date type field doesn't return any result.
Same date criteria returns a result if used alone(not as part of AND criteria).
returns a result.
But won't return anything with True criteria within AND or any other possibly matching criteria. e.g.
won't return anything (though there are possible matches).
AND criteria works for any other criteria with non-date fields. .e.g.
returns the result.
Issue Type
Steps to reproduce
Create a search request with AND criteria as mentioned in the description involving a date type field and verify with the expected result.
Actual results
search request with AND criteria doesn't return result when one of the conditions includes a date type field.
Expected results
search request with AND criteria should return the expected result even when one of the conditions involve a date type field
OS / Environment
Additional Information
which doesn't return any result. However, if this is modified to
works fine as an AND criteria and returns the expected result.
The text was updated successfully, but these errors were encountered: