|
|
|
|
@ -68,7 +68,7 @@ sealed class Criteria(override var uniqueIdentifier: Int) : IntIdentifiable, Row |
|
|
|
|
realm.findById(CustomField::class.java, this.customFieldId)?.entries?.forEach { |
|
|
|
|
objects.add(QueryCondition.CustomFieldListQuery(it)) |
|
|
|
|
} |
|
|
|
|
objects.sorted() |
|
|
|
|
objects.sort() |
|
|
|
|
realm.close() |
|
|
|
|
return objects.map { Query(it) } |
|
|
|
|
} |
|
|
|
|
@ -104,7 +104,7 @@ sealed class Criteria(override var uniqueIdentifier: Int) : IntIdentifiable, Row |
|
|
|
|
} |
|
|
|
|
objects.add(condition) |
|
|
|
|
} |
|
|
|
|
objects.sorted() |
|
|
|
|
objects.sort() |
|
|
|
|
return objects.map { Query(it) } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -289,7 +289,7 @@ sealed class Criteria(override var uniqueIdentifier: Int) : IntIdentifiable, Row |
|
|
|
|
} |
|
|
|
|
objects.add(condition) |
|
|
|
|
} |
|
|
|
|
objects.sorted() |
|
|
|
|
objects.sort() |
|
|
|
|
realm.close() |
|
|
|
|
return objects.map { Query(it) } |
|
|
|
|
} |
|
|
|
|
@ -302,7 +302,7 @@ sealed class Criteria(override var uniqueIdentifier: Int) : IntIdentifiable, Row |
|
|
|
|
} |
|
|
|
|
objects.add(condition) |
|
|
|
|
} |
|
|
|
|
objects.sorted() |
|
|
|
|
objects.sort() |
|
|
|
|
return objects.map { Query(it) } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|