|
|
|
|
@ -52,7 +52,7 @@ class Query { |
|
|
|
|
fun getName(context: Context): String { |
|
|
|
|
return when (this._conditions.size) { |
|
|
|
|
0 -> context.getString(R.string.all_sessions) // @todo should be dependant of the underlying type, ie. Session, Transaction... |
|
|
|
|
else -> this._conditions.joinToString(" : ") { it.getDisplayName(context) } |
|
|
|
|
else -> this._conditions.joinToString(" + ") { it.getDisplayName(context) } |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|