It appears my issue related to /modules/documents/Popup_picker.php.
/modules/emails/PopupDocuments.php on line 45 has require_once('modules/Documents/Popup_picker.php').
Popup_picker.php has the default $where = ''; to generate the listview.
PHP Code:
function _get_where_clause()
{
$where = '';
if(isset($_REQUEST['query']))
{
$where_clauses = array();
append_where_clause($where_clauses, "document_id", "documents.id");
append_where_clause($where_clauses, "document_name", "documents.document_name");
append_where_clause($where_clauses, "category_id", "documents.category_id");
append_where_clause($where_clauses, "subcategory_id", "documents.subcategory_id");
append_where_clause($where_clauses, "template_type", "documents.template_type");
append_where_clause($where_clauses, "is_template", "documents.is_template");
$where = generate_where_statement($where_clauses);
}
return $where;
}
I guess my question is how to a update the $where = ''; so I can populate the listview with the account.name?
Thanks for the help and support.
John
Bookmarks