Replies: 1 comment 1 reply
-
|
Eloquent doesn't provide any support to query pivot relationship with relationship. You can do it manually but since Nova depends heavily on Eloquent we unable to provide this without Eloquent first allow nested query. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
When you have a
BelongsTofield in aBelongsToManyfields, data aren't retrieved in attach mode: 404 error.Everything else works perfectly (index data, inline creation)
That's the url with 404 error:
http://localhost/nova-api/collaborators/associatable/job?first=false&search=&withTrashed=false&resourceId=1312&viaResource=collaborators&viaResourceId=1312&viaRelationship=units&component=belongsto.belongs-to-field.job&dependsOn=eyJqb2IiOiIifQ%3D%3D&editing=true&editMode=update
Workaround is to retrieve data and add a
Selectfield withonlyOnFormsbut we loose the ability to create inline...Detailed steps to reproduce the issue on a fresh Nova installation:
Beta Was this translation helpful? Give feedback.
All reactions