|
|
|
|
@ -23,7 +23,13 @@ interface FilterElementRow : RowRepresentable { |
|
|
|
|
is QueryCondition.ListOfValues<*> -> { |
|
|
|
|
val valueAsString: String? by map |
|
|
|
|
val hint = when (this.operator) { |
|
|
|
|
QueryCondition.Operator.MORE, QueryCondition.Operator.LESS -> this.filterSectionRow.resId |
|
|
|
|
QueryCondition.Operator.MORE, QueryCondition.Operator.LESS -> { |
|
|
|
|
when (this) { |
|
|
|
|
is QueryCondition.CustomFieldNumberQuery -> R.string.value |
|
|
|
|
is QueryCondition.CustomFieldAmountQuery -> R.string.amount |
|
|
|
|
else -> this.filterSectionRow.resId |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
else -> this.resId |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|