Add missing playlists filterable attributes

This commit is contained in:
Chocobozzz 2024-01-15 10:16:57 +01:00
parent c74d6aa671
commit 8590598a78
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import { AbstractIndexer } from './shared'
export class PlaylistIndexer extends AbstractIndexer <IndexablePlaylist, DBPlaylist> {
protected readonly primaryKey = 'uuid'
protected readonly filterableAttributes = [ 'uuid', 'host', 'videosLength' ]
protected readonly filterableAttributes = [ 'uuid', 'host', 'ownerAccount.handle', 'ownerAccount.host', 'videosLength' ]
protected readonly sortableAttributes = SORTABLE_COLUMNS.PLAYLISTS_SEARCH
// Keep the order, most important first
protected readonly searchableAttributes = [ 'displayName', 'videoChannel.displayName', 'ownerAccount.displayName', 'description' ]