hi everyone;
i’m not native english speaker sorry for mistakes :),
the problem is when i update a field via api which is added as a collection link to another collection,
i can see this update at admin panel (backend) but api request gives me ald value of that field.
Api response is
"entries": [
{
"name": "ADANA",
"_by": "e5089a44633938387e00010a",
"_mby": "e5089a44633938387e00010a",
"_modified": 1631363616,
"teams": [
{
"_id": "507d226063326474930002ee",
"link": "teams",
"display": "DENEME" <---------- old value
}
],
json from admin panel is
"name": "ADANA",
"_by": "e5089a44633938387e00010a",
"_mby": "e5089a44633938387e00010a",
"_modified": 1631363616,
"teams": [
{
"_id": "507d226063326474930002ee",
"link": "teams",
"display": "DENEME2" <-------------- new value
}
],
i noticed collection link field is not really when i’m updating the source table fields. when i open the admin panel it is requesting related fields data from it’s own collection each time .
i’m seeing old value because i’m only requesting main collection and not fetching collectionlinks fileds values from related table.
it is a bug isnt it ?