Skip to content
New issue

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

Expose the position of each related item on the loaded related items #1687

Closed
wants to merge 2 commits into from

Conversation

antonioribeiro
Copy link
Member

I needed to use the position of the related item on an application feature and this was the only way I could find to expose it, can we do this differently?

@antonioribeiro
Copy link
Member Author

Yes, looks awesome, @haringsrob! Feel free to put this one down. I didn't explore this at all and I was also feeling it could do good if we had access to the other related columns, so you are solving everything. Thank you!

@haringsrob
Copy link
Contributor

I just realise this is already in 2.8.7 https://github.com/area17/twill/blob/2.x/src/Models/Behaviors/HasRelated.php#L53

Realised that I accidentally committed it. And @pboivin already provided a fix for it as well 2411499

@haringsrob haringsrob closed this Jun 27, 2022
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