mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Videos: Fix pagination in videos
This commit is contained in:
parent
ddce88ba7f
commit
7e4896a0d3
1 changed files with 1 additions and 1 deletions
|
@ -43,6 +43,6 @@ class Videos
|
|||
|
||||
function getUserVideosCount(User $user): int
|
||||
{
|
||||
return sizeof($this->videos->where("owner", $user->getId())->where("deleted", 0));
|
||||
return sizeof($this->videos->where("owner", $user->getId())->where(["deleted" => 0, "unlisted" => 0]));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue