DataTables View won't load data when embedded in a Single Entry List View
When adding a DataTables View (using the "GravityView - View" field in the view editor) to a Single Entry page using the List layout, the DataTables View does not load any data.
- Create two new Views: a list View and a DataTables view
- Using the "GravityView - Vew" field, embed the DataTables View into the list View's Single Entry page
- View it on the front-end
Example: https://flamboyant-swiftlet-eb7a39.try.gravitykit.com/view/business-database/entry/1214/
WordPress 6.6.1 PHP version is: 7.4.33
@omarkasem, please work on this.
@crbdev @mrcasual I tested that multiple times and it's working fine for me php 7.4 and 8.1 gv 2.28.0 datatables 3.3.7 wp 6.6.1 and 6.6.2
I've tested it on try. and my local install, and it doesn't work. @Mwalek could you please try to reproduce this? Let me know if the steps aren't clear.
@crbdev I tested with PHP 7.4 and 8.3, but couldn't reproduce.
Perhaps you could have a look at my test and make adjustments or provide further clarification:
https://basecamp.try.gravitykit.com/view/issue-2090-view/
@Mwalek Can you provide me with the login?
@crbdev here you go, u: admin1 p: test
@Mwalek @omarkasem Thanks! Okay, so the issue only occurs when adding the field to the "Other Fields" section of the View editor
Thanks @crbdev for clarifying that. It's fixed now with this PR https://github.com/GravityKit/GravityView/pull/2149