By defauly, only get actual books and not parents from DB
This commit is contained in:
parent
ee109ba67d
commit
cf1bc1c252
3 changed files with 4 additions and 4 deletions
|
|
@ -39,7 +39,6 @@ namespace LibationWinForms.Dialogs
|
|||
_dataGridView.BindingContextChanged += _dataGridView_BindingContextChanged;
|
||||
|
||||
var orderedGridEntries = _libraryBooks
|
||||
.Where(lb => lb.Book.ContentType is not ContentType.Parent)
|
||||
.Select(lb => new RemovableGridEntry(lb))
|
||||
.OrderByDescending(ge => (DateTime)ge.GetMemberValue(nameof(ge.PurchaseDate)))
|
||||
.ToList();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue