KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Clicks on dashboard not working #2438

Closed Rajaram Panda opened this topic on on Nov 18, 2021 - 2 comments

Rajaram Panda commented on Nov 18, 2021

Hi, I am using Loolreports pro and dashboard in my office project, I have integrated Koolreport and added dashboard and admin resource,

When I am clicking anywhere on the dashboard it is sending a POST(ajax) request, But I am getting nothing how to handle that post request, getting errors like ajax failing,

I have temporarily fixed the issue by adding a POST route on that URL, and handling that route like below,

route Route::post('/dashboard', [DashboardController::class, 'handlePost']);

Controller for route

public function handlePost(Request $request)
    {
        App::create()->run();
    }

Please suggest me the proper way to handle it. Is there anything I am missing in the configuration?

** I am using Koolreport in Laravel framework

KoolReport commented on Nov 18, 2021

Hi,

It could be CSRF issue, please see this post.

Let us know if it helps.

Rajaram Panda commented on Nov 18, 2021

Thank you for this fast response, Mine issue is resolved, Thank you so much.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

Dashboard