Bug Fix #4: Only reference jobs where device held
This commit is contained in:
@@ -354,7 +354,7 @@ namespace Disco.Web.Controllers
|
||||
{
|
||||
m.LocationMode = Database.DiscoConfiguration.JobPreferences.LocationMode;
|
||||
if (m.LocationMode == LocationModes.RestrictedList)
|
||||
m.LocationOptions = ManagedJobList.OpenJobsTable(j => j).Items.JobLocationReferences(Database.DiscoConfiguration.JobPreferences.LocationList).ToList();
|
||||
m.LocationOptions = ManagedJobList.OpenJobsTable(j => j).Items.Cast<JobTableStatusItemModel>().JobLocationReferences(Database.DiscoConfiguration.JobPreferences.LocationList).ToList();
|
||||
}
|
||||
|
||||
// UI Extensions
|
||||
|
||||
Reference in New Issue
Block a user