Improve search result sorting

This commit is contained in:
Geomitron
2025-01-05 17:44:22 -06:00
parent 30eeca490b
commit e20f27dafe
6 changed files with 40 additions and 43 deletions

View File

@@ -224,6 +224,7 @@ export class SearchBarComponent implements OnInit, AfterViewInit {
instrument: this.instrument,
difficulty: this.difficulty,
drumType: this.drumType,
sort: this.searchService.sortColumn !== null ? { type: this.searchService.sortColumn, direction: this.searchService.sortDirection } : null,
source: 'bridge' as const,
...this.advancedSearchForm.getRawValue(),
}).subscribe()