We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The API return null for the linkedObjectsIds field when doing a search, but when querying the order directly, it returns the references correctly.
linkedObjectsIds
20.0.2
8.2.24
MySQL or MariaDB 10.9.8-MariaDB-1:10.9.8+maria~deb11
Result of: GET http://dolibarr_ip/dolibarr/api/index.php/orders?sqlfilters=ref:like:SO2411-0003
GET http://dolibarr_ip/dolibarr/api/index.php/orders?sqlfilters=ref:like:SO2411-0003
[ { "module": null, "id": "5", "entity": "1", "import_key": null, "array_options": [], "array_languages": null, "contacts_ids": [], "linkedObjectsIds": null, "canvas": null, "fk_project": null, "contact_id": null, "user": null, "origin_type": null, "origin_id": null, "ref": "SO2411-0003" } ]
Result of: GET http://dolibarr_ip/dolibarr/api/index.php/orders/5
GET http://dolibarr_ip/dolibarr/api/index.php/orders/5
{ "module": null, "id": "5", "entity": "1", "import_key": null, "array_options": [], "array_languages": null, "contacts_ids": [], "linkedObjectsIds": { "shipping": { "3": "3" } }, "canvas": null, "fk_project": null, "contact_id": null, "user": null, "origin_type": null, "origin_id": null, "ref": "SO2411-0003" } ]
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug
The API return null for the
linkedObjectsIds
field when doing a search, but when querying the order directly, it returns the references correctly.Dolibarr Version
20.0.2
Environment PHP
8.2.24
Environment Database
MySQL or MariaDB 10.9.8-MariaDB-1:10.9.8+maria~deb11
Steps to reproduce the behavior and expected behavior
Result of:
GET http://dolibarr_ip/dolibarr/api/index.php/orders?sqlfilters=ref:like:SO2411-0003
Result of:
GET http://dolibarr_ip/dolibarr/api/index.php/orders/5
Attached files
No response
The text was updated successfully, but these errors were encountered: