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

fix lib

parent 23d8a4fc
No related branches found
No related tags found
No related merge requests found
......@@ -247,9 +247,9 @@ KeywordAttribute.prototype.getValue = function(pKeyId)
.andPrepare("AB_KEYWORD_ATTRIBUTERELATION.AB_KEYWORD_ATTRIBUTE_ID", this.id)
.andPrepare("AB_KEYWORD_ENTRY.KEYID", pKeyId)
.buildSql("select " + this.dbField + " from AB_KEYWORD_ENTRY join AB_KEYWORD_ATTRIBUTERELATION on AB_KEYWORD_ENTRY.AB_KEYWORD_ENTRYID = AB_KEYWORD_ATTRIBUTERELATION.AB_KEYWORD_ENTRY_ID");
var result = db.cell(sql);
if (result)
return result;
var attrValue = db.cell(sql);
if (attrValue)
return attrValue;
if (this.defaultValue)
return this.defaultValue;
......
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