This project is read-only.
1
Vote

Items without vote are displayed in the widget

description

When someone votes to an item, then votes it down and it has 0 votes the item still shown in the widget. The problem is in the VoteWidgetPartDriver. When the results gets fetched from the DB, there sould be a .Where(x => x.Count > 0) check.
var results = _resultRepository.Fetch(resultPredicate, order, 0, part.Count).Select(r => r.ContentItemRecord.Id);

comments