eighty9nine / filament-reports

MIT License
67 stars 21 forks source link

[Bug]: [Missing parameter: tenant] #3

Closed shamyusof closed 6 months ago

shamyusof commented 8 months ago

What happened?

Missing required parameter for [Route: filament.admin.reports.users-report] [URI: admin/reports/branch/{tenant}/users-report] [Missing parameter: tenant].

How to reproduce the bug

First I install the package. After that, I publish the configuration. After that, I have added the plugins to the AdminPanelProvider and then create the file using "php artisan make:filament-report UsersReport" then it showing error.

Package Version

3.0.6

PHP Version

8.2

Laravel Version

10.0

Which operating systems does with happen with?

Windows

Notes

No response

eighty9nine commented 7 months ago

Can you please share the full error stack here? @shamyusof

bercksonjohnslyjeanlouis commented 7 months ago

Facing the same problem. It does not work on tenant mode... Seems that the problem is occurred from the routes of the plugin !

swapneal-dev commented 6 months ago

I have opened a pull request to solve this issue. If you want a temporary solution, look at the PR. @bercksonjohnslyjeanlouis @shamyusof

bercksonjohnslyjeanlouis commented 6 months ago

Thank you @swapneal-dev. I'm going to take a look.

shamyusof commented 6 months ago

I have opened a pull request to solve this issue. If you want a temporary solution, look at the PR. @bercksonjohnslyjeanlouis @shamyusof

it work!! thank you @swapneal-dev

eighty9nine commented 6 months ago

Thank you @swapneal-dev , the fix is available in version 3.0.10