jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/381912 )

Change subject: CRM-21202, set retrieve = true so that its not reinitialized 
again and just want the DataTable instance to be returned
......................................................................


CRM-21202, set retrieve = true so that its not reinitialized again and just 
want the DataTable instance to be returned

Pulled from upstream, observed when working on dedupe bug:

Bug: T176256
----------------------------------------
* CRM-21202: DataTables warning: table id=dupePairs
  https://issues.civicrm.org/jira/browse/CRM-21202

Change-Id: I84dcc2c839f909a94fc9f2ae007390e0189ae872
---
M templates/CRM/Contact/Page/DedupeFind.tpl
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Mepps: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/templates/CRM/Contact/Page/DedupeFind.tpl 
b/templates/CRM/Contact/Page/DedupeFind.tpl
index f518420..df90aa0 100644
--- a/templates/CRM/Contact/Page/DedupeFind.tpl
+++ b/templates/CRM/Contact/Page/DedupeFind.tpl
@@ -180,6 +180,7 @@
       "ajax": {
         "url": {/literal}'{$sourceUrl}'{literal}
       },
+      "retrieve": true,
       rowCallback: function (row, data) {
         // Set the checked state of the checkbox in the table
         $('input.crm-dedupe-select', row).prop('checked', data.is_selected == 
1);

-- 
To view, visit https://gerrit.wikimedia.org/r/381912
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I84dcc2c839f909a94fc9f2ae007390e0189ae872
Gerrit-PatchSet: 2
Gerrit-Project: wikimedia/fundraising/crm/civicrm
Gerrit-Branch: master
Gerrit-Owner: Eileen <emcnaugh...@wikimedia.org>
Gerrit-Reviewer: Ejegg <ej...@ejegg.com>
Gerrit-Reviewer: Mepps <me...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to