Skip to content
Snippets Groups Projects
Commit cb8e2df5 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

content title of anycontact: include org

parent 9506db26
No related branches found
No related tags found
No related merge requests found
......@@ -508,15 +508,12 @@ Contact.createWithColumnPreset = function()
*/
function ContactTitleRenderer(pContact, pOptions)
{
logging.log(JSON.stringify(pOptions, null, "\t"))
this.contact = pContact;
if (pOptions !== undefined)//null means null which is "no option"; so check exactly for undefined to check if default option has to be set
this._options = pOptions;
else
this._options = ContactTitleRenderer.OPTIONS.IncludeOrganisation;
logging.log(JSON.stringify(this._options & ContactTitleRenderer.OPTIONS.IncludeOrganisation, null, "\t"))
//function that renders the contact into a sql expression (e.g. for a subselect)
this._asSqlFn = function(){
var maskingUtil = new SqlMaskingUtils();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment