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

fix

parent f3cf8379
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,6 @@ import("Sql_lib"); ...@@ -6,6 +6,6 @@ import("Sql_lib");
//TODO: temporary testing code //TODO: temporary testing code
var isoCode = vars.get("$field.COUNTRY"); var isoCode = vars.get("$field.COUNTRY");
var countryName = db.cell(SqlCondition.begin().andPrepare("COUNTRYINFO.ISO2", isoCode).buildSelect("select COUNTRYINFO.NAME_LATIN from COUNTRYINFO")); var countryName = db.cell(SqlCondition.begin().andPrepare("COUNTRYINFO.ISO2", isoCode).buildSql("select COUNTRYINFO.NAME_LATIN from COUNTRYINFO"));
countryName = translate.text(countryName); countryName = translate.text(countryName);
result.string(countryName); result.string(countryName);
\ No newline at end of file
...@@ -6,6 +6,6 @@ import("Sql_lib"); ...@@ -6,6 +6,6 @@ import("Sql_lib");
//TODO: temporary testing code //TODO: temporary testing code
var isoCode = vars.get("$field.LANGUAGE"); var isoCode = vars.get("$field.LANGUAGE");
var countryName = db.cell(SqlCondition.begin().andPrepare("COUNTRYINFO.ISO2", isoCode).buildSelect("select COUNTRYINFO.NAME_LATIN from COUNTRYINFO")); var countryName = db.cell(SqlCondition.begin().andPrepare("COUNTRYINFO.ISO2", isoCode).buildSql("select COUNTRYINFO.NAME_LATIN from COUNTRYINFO"));
countryName = translate.text(countryName); countryName = translate.text(countryName);
result.string(countryName); result.string(countryName);
\ No newline at end of file
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