No More Sort Prefixes (#3895)
This commit is contained in:
parent
9eadf956fb
commit
08c52b4281
16 changed files with 4095 additions and 3 deletions
|
|
@ -126,13 +126,17 @@ public class ProcessSeries : IProcessSeries
|
|||
series.Format = firstParsedInfo.Format;
|
||||
}
|
||||
|
||||
var removePrefix = library.RemovePrefixForSortName;
|
||||
var sortName = removePrefix ? BookSortTitlePrefixHelper.GetSortTitle(series.Name) : series.Name;
|
||||
|
||||
if (string.IsNullOrEmpty(series.SortName))
|
||||
{
|
||||
series.SortName = series.Name;
|
||||
series.SortName = sortName;
|
||||
}
|
||||
|
||||
if (!series.SortNameLocked)
|
||||
{
|
||||
series.SortName = series.Name;
|
||||
series.SortName = sortName;
|
||||
if (!string.IsNullOrEmpty(firstParsedInfo.SeriesSort))
|
||||
{
|
||||
series.SortName = firstParsedInfo.SeriesSort;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue