Skip to content

Conversation

GertjanRoke
Copy link

Hello,

I just implemented this package into my project and my primary key is not id, so this means the person_fn key in the config will not work for me because it looks at the id attribute.
So I added a fallback on the function of Laravel: getKey(), this will look at if the $primaryKey name is changed inside the modal else will send the value from the id attribute.

If you have any question feel free to ask.

@bxsx bxsx self-assigned this Nov 2, 2021
@bxsx bxsx closed this Nov 2, 2021
@bxsx bxsx reopened this Nov 2, 2021
Copy link

@bxsx bxsx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @GertjanRoke

This is a nice feature. Thanks for the PR 👌

@bxsx bxsx merged commit 8026655 into rollbar:master Nov 2, 2021
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.

2 participants