querySql() method which returns raw SQL generated by query builderLivewireModelTable
joinRelated() method
sortByRelatedField() is now only responsible for the orderBy portiongenerateQueryFields() which prepares the $fields array for join / search statements.$fields are selected with the querywhereLike macro for search, instead loop over supplied searchable fields and build where and orWhere queries
whereLike macro was failing when sort was on related column and search was performed. Now resolved.Moved setCssArray to Scaffold command rather than LivewireModelTable. Thereby there's no need to use __construct in LivewireModelTable and thus call parent::__construct for Livewire Component.
Pagination is now functioning correctly as LivewireModelTable had to construct the parent Livewire component.
Fix component stub
How can I help you explore Laravel packages today?