MedicOneSystems / livewire-datatables

Advanced datatables using Laravel, Livewire, Tailwind CSS and Alpine JS
https://livewire-datatables.com/
MIT License
1.19k stars 259 forks source link

Larevel 10 issue and update dependency #601

Open code23-barna opened 8 months ago

code23-barna commented 8 months ago
  1. If we use the package with Laravel 10 it currently fails with the following error message:
    Too few arguments to function Illuminate\Database\Query\Expression::getValue(), 0 passed in /path/to/project/vendor/mediconesystems/livewire-datatables/src/Http/Livewire/LivewireDatatable.php on line 417 and exactly 1 expected

The Laravel 10 upgrade guide states to update these calls here: https://laravel.com/docs/10.x/upgrade#database-expressions

  1. The other change is just an update to the latest reedware/laravel-relation-joins as version 5 is released.