We're Moving to a New Support Platform – Starting June 1st!
We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.
You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.
While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.
We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.
Thanks for your continued support and trust – we’re excited to bring you an even better support experience!
We are preparing to apply update to your version 2.3 and found these problems.
We found that version 2.2.1 is installed but it was patched as it should have s descrbed in ticket 1334956 you recommended several patches on November 21, 2017 at 12:04pm and November 16, 2017 at 5:51pm
WE plan to apply the patches to 2.2.1 before we upgrade to 2.3 but found some problems
Some of the suggested changes have different code in the current plugin than described in the ticket.
The modules that have changed are:
wp-content/plugins/wpdatatables/source/class.wdtconfigcontroller.php around line 102
supposed to be:
foreach ($tableData->columns as &$column) {
$column->defaultValueValues = $wpDataTable->getColumn($column->orig_header)->getDefaultValues();
}
changed to:
// Return Filter and Editing Default value when Foreign key is set
foreach ($tableData->columns as $column) {
if (!empty($column->foreignKeyRule)) {
$column->filterDefaultValue = $wpDataTable->getColumn($column->orig_header)->getFilterDefaultValue();
$column->editingDefaultValue = $wpDataTable->getColumn($column->orig_header)->getEditingDefaultValue();
}
}
wp-content/plugins/wpdatatables/source/class.wdtconfigcontroller.php around line 60
supposed to be:
foreach ($tableData->columns as &$column) {
$column->defaultValueValues = $wpDataTable->getColumn($column->orig_header)->getDefaultValues();
}
changed to
// Return Filter and Editing Default value when Foreign key is set
foreach ($tableData->columns as $column) {
if (!empty($column->foreignKeyRule)) {
$column->filterDefaultValue = $wpDataTable->getColumn($column->orig_header)->getFilterDefaultValue();
$column->editingDefaultValue = $wpDataTable->getColumn($column->orig_header)->getEditingDefaultValue();
}
}
wp-content/plugins/wpdatatables/assets/js/wpdatatables/wpdatatables.js around line 1030
supposed to be:
for (var i in tableDescription.advancedEditingOptions.aoColumns) {
var defaultValue = tableDescription.advancedEditingOptions.aoColumns[i].defaultValue;
var editorInputType = tableDescription.advancedEditingOptions.aoColumns[i].editorInputType;
if (defaultValue) { if ($.inArray(editorInputType, ['selectbox', 'multi-selectbox']) !== -1) {
defaultValue = editorInputType == 'multi-selectbox' ? defaultValue.split('|') : defaultValue;
$('#wdt-frontend-modal .editDialogInput:not(.bootstrap-select):eq(' + i + ')').selectpicker('val', defaultValue);
} else { $('#wdt-frontend-modal .editDialogInput:not(.bootstrap-select):eq(' + i + ')').val(defaultValue);
}
}
}
now at 1122 and significantly different and a bigger for loop
Should we still apply the recommended patches.
Hi ogstsic,
Thank you for your purchase.
Yes those changes are included in the 2.3 version of our plugin so you should not have any issues after the update.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables