Skip to content

Fixed bugs in filtering and editing fields in relationship#1049

Open
SeptimusLiu wants to merge 1 commit intoFrozenNode:masterfrom
SeptimusLiu:master
Open

Fixed bugs in filtering and editing fields in relationship#1049
SeptimusLiu wants to merge 1 commit intoFrozenNode:masterfrom
SeptimusLiu:master

Conversation

@SeptimusLiu
Copy link
Copy Markdown

There is some bugs when I use the type "relationship" in edit_fields and filters in model config file, it will update the id fields instead of the foreign key I've set in belongsTo('\App\Models\MtrGroup', 'foreign_key', 'local_key'). Details for issue can be seen on #1048
This commit fixed bugs above for me, and I hope it can be merged and prevent similiar problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant