Closed joshmurrayeu closed 3 years ago
Please see PR: https://github.com/laravel-json-api/eloquent/pull/13
Thanks for reporting and providing the PR. The PR needs to be amended to use the qualifyColumn()
method Eloquent already provides, but then should be mergable.
No worries - I've updated the PR as requested. Thanks for a prompt response!
Great thanks, have merged into develop
.
I have built up a query within the
Scheme::indexQuery()
and I get the following exception when fetching the entities:This bug occurs when joining with other tables in the
indexQuery()
. ThedefaultOrder
method within thePagePagination
will only use theprimaryKey
in theorderBy
causing this exception.