Hi Johnny, I noticed that when I have a setDependentRelation enabled and CSRF protection, the ajax search query filter doesn’t work for that column, it’s giving a 403 when doing the query. I had to manually add the csrf variable on the ajax request inside the Grocery Crud Enterprise JS.
post by gabe152006 on Oct 5, 2021
post by johnny on Oct 6, 2021
Hello @gabe152006 ,
I confirm this bug. It is weird that I’ve missed that
. I will probably fix that for the next version.
Regards
Johnny
post by gabe152006 on Oct 6, 2021
@johnny no worries! I thought it was strange too. Can you take a look at my other question about the setRelation and sorting?
Thank you so much!
post by johnny on Oct 6, 2021
Hello @gabe152006 ,
I’ve fixed the issue for the next version (2.9.1). As I understand you’ve already add it to your code so you have a work-around for now.
Regards
Johnny
post by gabe152006 on Oct 6, 2021
Hello @johnny,
Yeah I’ve added it to my code. I hate having to modify core library files but it works for now.
New & Unread Topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Use callbackColumn() but keep inline edit functionality |
|
3 | 649 | Apr 12 |
| Setting quick search values via JavaScript not working properly for booleans |
|
0 | 563 | Nov 2025 |
| displayAs() doesn’t support new line in headings |
|
4 | 873 | Jan 5 |
| Inline edit has problems if the column width is set |
|
2 | 843 | Feb 28 |
| PRINT date format not consistent |
|
6 | 359 | Sep 7 |