From c9d547030f2f9fc3930759c16c41d906b6801055 Mon Sep 17 00:00:00 2001 From: acognet Date: Fri, 14 Jan 2022 15:34:24 +0100 Subject: [PATCH] Fix Get filter in DoAddObject --- js/searchformforeignkeys.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/searchformforeignkeys.js b/js/searchformforeignkeys.js index 97b0f8f4cd..98ae74a059 100644 --- a/js/searchformforeignkeys.js +++ b/js/searchformforeignkeys.js @@ -260,8 +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 } ); - //fix - theMap["sFilter"] = $('#datatable_ResultsToAdd_'+me.id+' [name=filter]').val(); + theMap["sFilter"] = $("#datatable_ResultsToAdd_"+me.id+" [name='filter']").val(); theMap["class"] = me.sTargetClass; theMap['operation'] = 'GetFullListForeignKeysFromSelection'; $('#busy_'+me.iInputId).html(' ');