]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit - support/doc/api/openapi.yaml
Added "total views" in the my channels list (#5007)
authorFlorian CUNY <poslovitch@bentobox.world>
Tue, 31 May 2022 14:01:11 +0000 (16:01 +0200)
committerGitHub <noreply@github.com>
Tue, 31 May 2022 14:01:11 +0000 (16:01 +0200)
commitc6f8ca4d6596572de981162983bd02eb2613791d
treef2ff530c1e1888202d0208837dfc928f1388a6e3
parentb0185d7351f71bbc5ccbeed5bba86a619a7de70b
Added "total views" in the my channels list (#5007)

* Added "total views" in the my channels list

Implements https://github.com/Chocobozzz/PeerTube/issues/4331

* Fix lint

* applied suggested change

* updated openAPI spec for the use "withStats" when getting video channels

* applied code change

* removed GROUP BY in query

* Fixed test
client/src/app/+my-library/+my-video-channels/my-video-channels.component.html
client/src/app/shared/shared-main/video-channel/video-channel.model.ts
server/models/video/video-channel.ts
server/tests/api/videos/video-channels.ts
shared/models/videos/channel/video-channel.model.ts
support/doc/api/openapi.yaml