New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
q=modifiedAt or q=modifiedAt>aDate always returns an empty array #1458
Comments
Thanks for reporting! |
Thanks for replying. |
I have just tested with quote |
Yeah, I just found a line about "modifiedAt/createdAt" and "q" in my ToDo list. I'll try to find some time to fix this. Quite of busy right now, so, I can't really promise any time frame for this. |
Many thanks ! |
The issue is hopefully fixed. Please test and close this issue if everything is working as expected. |
Tested against 1.5.0-PRE-1526. The issue is fixed. It works both on anEntity.modifiedAt and anEntity.anyProperty.modifiedAt. |
On Orion-LD v1.4.0, GET /ngsi-ld/v1/entities does not correctly handle "q=modifiedAt"
I have some entities of type Site in the context. My goal is to retrieve all context entities of type Site that where modified after a given date. But "q=modifiedAt" seems not to be supported by /ngsi-ld/v1/entities.
This request does return my entities:
http://[::1]:1026/ngsi-ld/v1/entities?type=Site
But this request returns an empty array, whereas it should return them all:
http://[::1]:1026/ngsi-ld/v1/entities?type=Site&q=modifiedAt
And this one returns an empty array as well, whereas it should return the ones that have been modified after january, the 1st:
http://[::1]:1026/ngsi-ld/v1/entities?type=Site&q=modifiedAt>2023-01-01T00:00:00Z
The text was updated successfully, but these errors were encountered: