@if (!isGlobalSearch) { @for (filter of filterConfig; track filter.key) { {{ filter.translationKey | translate }} } } {{ 'PORTALS.SEARCH_VIEW.VISIBLE_CATEGORIES_ONLY' | translate }} @if (isGlobalSearch) { } @if (isGlobalSearch) {
info_outline {{ 'PORTALS.SEARCH_VIEW.XTREAM_ONLY_NOTE' | translate }}
@for (filter of filterConfig; track filter.key) { {{ filter.translationKey | translate }} }
{{ 'PORTALS.SEARCH_VIEW.GROUP_BY_PLAYLIST' | translate }}
}
@if (isGlobalSearch) { @if (groupByPlaylist()) {

Found {{ xtreamStore.searchResults().length }} items across {{ (groupedResults() | keyvalue).length }} playlists

@for ( group of groupedResults() | keyvalue; track group.key ) {

playlist_play {{ group.key }} ({{ $any(group).value.length }} items)

@for (item of $any(group).value; track item.id) { }
}
} @else {
@for (item of xtreamStore.searchResults(); track item.id) { }
} } @else {
@for (item of xtreamStore.searchResults(); track item.id) { }
}