Add missing playlists filterable attributes
This commit is contained in:
parent
c74d6aa671
commit
8590598a78
|
@ -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' ]
|
||||
|
|
Loading…
Reference in New Issue