This commit is contained in:
@@ -51,7 +51,7 @@ namespace AyaNova.DataList
|
|||||||
throw new System.ArgumentNullException($"DEV ERROR in DataListSqlFilterCriteriaBuilder.cs: field {fld} specified in template was NOT found in ObjectFields list");
|
throw new System.ArgumentNullException($"DEV ERROR in DataListSqlFilterCriteriaBuilder.cs: field {fld} specified in template was NOT found in ObjectFields list");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
var SQLValueColumnName=DataListField.GetSqlValueColumnName();
|
var SQLValueColumnName = DataListField.GetSqlValueColumnName();
|
||||||
sb.Append(DataFilterToColumnCriteria(SQLValueColumnName, (AyaUiFieldDataType)dataType, opType, val, tagList, userId));
|
sb.Append(DataFilterToColumnCriteria(SQLValueColumnName, (AyaUiFieldDataType)dataType, opType, val, tagList, userId));
|
||||||
if (i < FilterArray.Count - 1)
|
if (i < FilterArray.Count - 1)
|
||||||
{
|
{
|
||||||
@@ -731,6 +731,7 @@ namespace AyaNova.DataList
|
|||||||
break;
|
break;
|
||||||
case AyaUiFieldDataType.Enum://enums are just ints to the db, but it's a special type so the client can recognize it
|
case AyaUiFieldDataType.Enum://enums are just ints to the db, but it's a special type so the client can recognize it
|
||||||
case AyaUiFieldDataType.Decimal:
|
case AyaUiFieldDataType.Decimal:
|
||||||
|
case AyaUiFieldDataType.Currency:
|
||||||
case AyaUiFieldDataType.Integer: //whole numbers, not only integer
|
case AyaUiFieldDataType.Integer: //whole numbers, not only integer
|
||||||
{
|
{
|
||||||
//case 1795 - it's numeric, convert to locale independant format
|
//case 1795 - it's numeric, convert to locale independant format
|
||||||
@@ -739,6 +740,7 @@ namespace AyaNova.DataList
|
|||||||
switch (DataType)
|
switch (DataType)
|
||||||
{
|
{
|
||||||
case AyaUiFieldDataType.Decimal:
|
case AyaUiFieldDataType.Decimal:
|
||||||
|
case AyaUiFieldDataType.Currency:
|
||||||
{
|
{
|
||||||
if (nfi.CurrencyDecimalSeparator != ".")
|
if (nfi.CurrencyDecimalSeparator != ".")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user