navidrome/persistence/export_test.go
naiar 04603a1ea2
fix(subsonic): honour PreferSortTag when building indexes for getArtist and getIndexes (#3286)
* fix(scanner): use sort_artist_name when the config PreferSortTags is true - #3285

* revert unwanted modifications

* refactor(server): use cmp.Or to simplify nested ifs

---------

Co-authored-by: Deluan <deluan@navidrome.org>
2024-09-19 13:44:29 -04:00

5 lines
115 B
Go

package persistence
// Definitions for testing private methods
var GetIndexKey = (*artistRepository).getIndexKey