Skip to content

Commit 6d96185

Browse files
committed
rebuild for #772
1 parent f45bee7 commit 6d96185

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

api.include.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6824,7 +6824,7 @@ public function serialize()
68246824
public function jsonSerialize()
68256825
{
68266826
return array_filter($this->serialize(), function ($v) {
6827-
return $v !== 0;
6827+
return $v !== -1;
68286828
});
68296829
}
68306830
}
@@ -10211,7 +10211,7 @@ public function serialize()
1021110211
public function jsonSerialize()
1021210212
{
1021310213
return array_filter($this->serialize(), function ($v) {
10214-
return $v !== 0;
10214+
return $v !== -1;
1021510215
});
1021610216
}
1021710217
}
@@ -10767,7 +10767,7 @@ public function _list(string $tableName, array $params): ListDocument
1076710767
if (!$this->pagination->hasPage($params)) {
1076810768
$offset = 0;
1076910769
$limit = $this->pagination->getPageLimit($params);
10770-
$count = 0;
10770+
$count = -1;
1077110771
} else {
1077210772
$offset = $this->pagination->getPageOffset($params);
1077310773
$limit = $this->pagination->getPageLimit($params);

api.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6824,7 +6824,7 @@ public function serialize()
68246824
public function jsonSerialize()
68256825
{
68266826
return array_filter($this->serialize(), function ($v) {
6827-
return $v !== 0;
6827+
return $v !== -1;
68286828
});
68296829
}
68306830
}
@@ -10211,7 +10211,7 @@ public function serialize()
1021110211
public function jsonSerialize()
1021210212
{
1021310213
return array_filter($this->serialize(), function ($v) {
10214-
return $v !== 0;
10214+
return $v !== -1;
1021510215
});
1021610216
}
1021710217
}
@@ -10767,7 +10767,7 @@ public function _list(string $tableName, array $params): ListDocument
1076710767
if (!$this->pagination->hasPage($params)) {
1076810768
$offset = 0;
1076910769
$limit = $this->pagination->getPageLimit($params);
10770-
$count = 0;
10770+
$count = -1;
1077110771
} else {
1077210772
$offset = $this->pagination->getPageOffset($params);
1077310773
$limit = $this->pagination->getPageLimit($params);

0 commit comments

Comments
 (0)