Offers now get sorted on position
This commit is contained in:
parent
acbcc014ae
commit
dad6a8557d
1 changed files with 2 additions and 0 deletions
|
|
@ -51,6 +51,8 @@ fun main() {
|
|||
((config.general.smoking == -1 && !smoking) || (config.general.smoking == 1 && smoking) || config.general.smoking == 0) &&
|
||||
|
||||
((config.general.pets == -1 && !pets) || (config.general.pets == 1 && pets) || config.general.pets == 0)
|
||||
}.sortedBy {
|
||||
it.floor.potentialPosition
|
||||
}.sortedBy {
|
||||
val date = it.room.expireBy.take(10)
|
||||
val date1 = LocalDate.now()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue