Extract 'sortable' formatting from GridEntry

This commit is contained in:
Robert McRackan 2022-05-04 13:50:23 -04:00
parent 128facec21
commit ded175f2d2
3 changed files with 32 additions and 17 deletions

View file

@ -51,6 +51,9 @@ namespace DataLayer
: Category.ParentCategory is null ? new[] { Category.AudibleCategoryId }
: new[] { Category.ParentCategory.AudibleCategoryId, Category.AudibleCategoryId };
public string TitleSortable => Formatters.GetSortName(Title);
public string SeriesSortable => Formatters.GetSortName(SeriesNames);
// is owned, not optional 1:1
public UserDefinedItem UserDefinedItem { get; private set; }