|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Mifos-issues mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mifos-issues

1) Good job. Can you make the staff display_name the same please?
2) I popped the _javascript_ function encodeURIComponent in and it seems to work (at least for the characters I put in). I also needed to replace single quotes with two single quotes (peculiar to this sqlSearch facility only). Also, I'm having problems when I import your changes... my git thinks your changes are uncommitted... so I didnt want to take a change of pushing this change... I'll get Keith to help me with this but for now the change is to replace your current sqlSearch ajax call with:
var searchValue = $("#clientSearchInput").val();
searchValue = searchValue.replace("'", "''");
var sqlSearchValue = "display_name like '%" + searchValue + "%'";
executeAjaxRequest("clients?sqlSearch=" + encodeURIComponent(sqlSearchValue), 'GET', "", searchSuccessFunction, formErrorFunction);