Add priority
This commit is contained in:
@@ -185,9 +185,8 @@ namespace LeafWeb.WebCms.Services.PiscalQueue
|
||||
|
||||
var pendingInput =
|
||||
DataService
|
||||
.GetLeafInputs(LeafInputStatusType.Pending)
|
||||
.OrderBy(l => l.StatusHistory.Min(sh => sh.DateTime))
|
||||
.FirstOrDefault();
|
||||
.GetLeafInputsOrdered()
|
||||
.FirstOrDefault(li => li.CurrentStatus == LeafInputStatusType.Pending);
|
||||
|
||||
if (pendingInput == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user