KEMP#35015: Lijst produceren op basis van Artikelgroepering --> multiselect mogelijk maken.

svn path=/Website/trunk/; revision=27953
This commit is contained in:
Maykel Geerdink
2016-01-28 12:50:20 +00:00
parent c7e61906fd
commit cb1696b14c

View File

@@ -26,6 +26,7 @@ function getRSFilterValueByKey(pTable, pKeys, pLabel)
var sql = getSQLByKey(pTable, pKeys); var sql = getSQLByKey(pTable, pKeys);
var oRs = Oracle.Execute(sql); var oRs = Oracle.Execute(sql);
if (oRs.eof) return "";
while (!oRs.eof) while (!oRs.eof)
{ {
filterValue += (!firstItem? lSep : "") + safe.html(oRs(0).value); filterValue += (!firstItem? lSep : "") + safe.html(oRs(0).value);
@@ -65,6 +66,8 @@ function getRSFilterValueByValue(pValue, pLabel, pshowTime)
lvalue = "" + (pshowTime? toDateTimeString(pValue) : toDateString(pValue)); lvalue = "" + (pshowTime? toDateTimeString(pValue) : toDateString(pValue));
if (pValue instanceof String) if (pValue instanceof String)
lvalue = "" + pValue; lvalue = "" + pValue;
if (pValue instanceof Array)
lvalue = "" + pValue.join(", ");
break; break;
} }
default: { lvalue = "" + pValue; default: { lvalue = "" + pValue;