From 4362ef7a2d7692450895d534e788c08ec403da8d Mon Sep 17 00:00:00 2001 From: Stephen Abello Date: Tue, 1 Jun 2021 10:20:57 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B03914=20Fix=20search=20from=20external=20?= =?UTF-8?q?key=20widget?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/searchformforeignkeys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/searchformforeignkeys.js b/js/searchformforeignkeys.js index 41d4198e28..356ee6cda7 100644 --- a/js/searchformforeignkeys.js +++ b/js/searchformforeignkeys.js @@ -260,7 +260,7 @@ function SearchFormForeignKeys(id, sTargetClass, sAttCode, oSearchWidgetElmt, sF $(this).parents('tr:first').remove(); // Remove the whole line, so that, next time the dialog gets displayed it's no longer there } ); - theMap["sFilter"] = $('#datatable_ResultsToAdd_'+me.id).data().itopDatatable.options.sFilter; + theMap["sFilter"] = $('#datatable_ResultsToAdd_'+me.id).DataTable().ajax.params().filter; theMap["class"] = me.sTargetClass; theMap['operation'] = 'GetFullListForeignKeysFromSelection'; $('#busy_'+me.iInputId).html(' ');