-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter and search request #83
Comments
|
Do you get any errors in when you try to filter? Or is there any info in your browser's Developer Tools -> Network panel? You should see json request-response errors there. Your index controller seems OK. Maybe something in your index view template? Also, maybe try it without this in your controller:
|
I try this to debug. I have the same result without. |
Here my index.php template :
|
I have no error in log and no error in developper tools tabs in firefox. |
Hmmm... this might be similar to something that came up in another thread. Can you try this:
See if that helps. |
I try it but i have the same result : The XHR request return full html page instead of json. |
I'm sorry I can not be of much help here, but in general I can tell you your problem is not directly related to this plugin. As you mentioned, the RequestHandlerComponent is responsible for selecting the appropriate view based on the request type. The plugin does not interfer with that. Your routing might also play into it if request parameters are ignored. |
Could you give me your advise about my composer.json, maybe you know an incompatible require inside ;) ?
|
@wash34000 did you find a solution to this issue - I have the same problem as you and can only get it to work with the $this->Html->scriptBlock approach... |
Hello,
I followed the installation steps for cakePHP 4.
The DataTables displays correctly, but I cannot sort or filter the data.
My controller returns HTML content and no JSON response ...
Do you have an example controller action to help me?
The text was updated successfully, but these errors were encountered: