KEMP#35015: Lijst produceren op basis van Artikelgroepering --> multiselect mogelijk maken.
svn path=/Website/trunk/; revision=27953
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user