Add unresponsive to the order of results at the top

This commit is contained in:
2019-11-24 21:01:16 -05:00
parent 866cfa29d7
commit e91c9f9d81
2 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -62,7 +62,8 @@ namespace LeafWeb.Core.DAL
li.CurrentStatus == LeafInputStatusType.Starting ||
li.CurrentStatus == LeafInputStatusType.Finishing ||
li.CurrentStatus == LeafInputStatusType.Cancelling ||
li.CurrentStatus == LeafInputStatusType.CancelPending)
li.CurrentStatus == LeafInputStatusType.CancelPending ||
li.CurrentStatus == LeafInputStatusType.Unresponsive)
// then by pending, by priority
.ThenByDescending(li =>
li.CurrentStatus == LeafInputStatusType.Pending