@ -54,7 +54,7 @@ open class ComputableResult() : RealmObject(), Computable, Filterable {
BB_PER100HANDS("bbPer100Hands")
}
companion object : Filterable {
companion object {
fun fieldNameForQueryType(queryCondition: QueryCondition): String? {
return "session." + Session.fieldNameForQueryType(queryCondition)
@ -50,7 +50,7 @@ open class Session : RealmObject(), Savable, Editable, StaticRowRepresentableDat
TOURNAMENT
fun newInstance(realm: Realm, isTournament: Boolean, bankroll: Bankroll? = null): Session {
val session = Session()
session.result = Result()
@ -96,7 +96,7 @@ open class SessionSet() : RealmObject(), Timed, Filterable {
NET_DURATION("netDuration")
fun newInstance(realm: Realm) : SessionSet {
val sessionSet = SessionSet()