Replies: 1 comment
-
|
Thanks for your suggestion, but probably we'll not introduce this in our package, as we like to keep it as simple as it can be. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
A lot of times I want models to be ordered within a certain context (a specific column or columns), usually within a
BelongsTorelationship. The models will then be ordered within that context and also the order number will be determined within that context. I have done this in an extension of the trait (which I'm lugging around from project to project) like this:Example usage:
Would this be something to include in the package? I'm happy to supply a PR, but I'm asking first before putting in the work.
Beta Was this translation helpful? Give feedback.
All reactions