Hi Experts!
We had below customization in our customised titlebar.jsp. Not sure how the below postComponentJumpEvent works to understand where exactly the query will execute.
function onClickCustomSearch ()
{
var contentPage = eval(getAbsoluteFramePath("content"));
if (contentPage != null)
{
var text = document.getElementById("txtSearch1");
callBlur(text);
var strValue = trim(text.value);
if (strValue != "" && strValue != "<%=strSearch %>")
{
//var strDQL="select * from agl_control_document where upper(agl_consignment_id)='"+strValue.toUpperCase()+"'";
var strDQL="<%=STRSELECT1 %>'"+strValue.toUpperCase()+"'<%=STRLOWERASSIGN1 %>'"+strValue.toLowerCase()+"'<%=STRUNION1 %> '"+strValue.toUpperCase()+"'<%=STRLOWERASSIGN1 %> '"+strValue.toLowerCase()+"'<%=STRHIDDEN1 %>";
//alert("agl_consignment_id "+strDQL);
postComponentJumpEvent(null, "search", "content", "queryType", "dql", "query", strDQL);
//postComponentJumpEvent(null, "search", "content", "query", strValue);
if (typeof text.autoComplete != "undefined" && text.autoComplete != null)
{
// add the search string to client-side's auto-complete suggestions
text.autoComplete.addEntry(strValue);
var prefs = InlineRequestEngine.getPreferences(InlineRequestType.JSON);
prefs.setCallback("onUpdateACCallBack");
postInlineServerEvent(null, prefs, null, null, "onUpdateAutoCompleteData", null, null);
}
}
}