селектор помещений из апи
This commit is contained in:
parent
e75deb82b4
commit
df6991e2d8
@ -89,7 +89,7 @@ public function render()
|
|||||||
if (array_key_exists('bs', $this->filter) && $this->filter['bs'] && $room['bs'] != $this->filter['bs']) {
|
if (array_key_exists('bs', $this->filter) && $this->filter['bs'] && $room['bs'] != $this->filter['bs']) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (array_key_exists('type', $this->filter) && $this->filter['type'] && $room['type'] != $this->filter['type']) {
|
if (array_key_exists('type', $this->filter) && $this->filter['type'] !== null && $room['type'] != $this->filter['type']) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (array_key_exists('min_area', $this->filter) && $room['area'] < $this->filter['min_area']) {
|
if (array_key_exists('min_area', $this->filter) && $room['area'] < $this->filter['min_area']) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user