mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Feature/filter already watched videos (#5739)
* filter already watched videos * Updated code based on review comments
This commit is contained in:
parent
0cda019c1d
commit
2a4c0d8bbe
10 changed files with 119 additions and 9 deletions
|
@ -24,7 +24,8 @@ function pickCommonVideoQuery (query: VideosCommonQueryAfterSanitize) {
|
|||
'skipCount',
|
||||
'hasHLSFiles',
|
||||
'hasWebtorrentFiles',
|
||||
'search'
|
||||
'search',
|
||||
'excludeAlreadyWatched'
|
||||
])
|
||||
}
|
||||
|
||||
|
@ -41,7 +42,8 @@ function pickSearchVideoQuery (query: VideosSearchQueryAfterSanitize) {
|
|||
'originallyPublishedEndDate',
|
||||
'durationMin',
|
||||
'durationMax',
|
||||
'uuids'
|
||||
'uuids',
|
||||
'excludeAlreadyWatched'
|
||||
])
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue