Skip to content
Snippets Groups Projects
Commit a4827e38 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-2710 & TMSS-2593: use process_start/stop_time to query timeline units

parent b6f3fc28
No related branches found
No related tags found
1 merge request!1153New Week View
...@@ -142,7 +142,7 @@ const ScheduleService = { ...@@ -142,7 +142,7 @@ const ScheduleService = {
let blueprints = []; let blueprints = [];
try { try {
let url = `/api/scheduling_unit_blueprint_slim/`; let url = `/api/scheduling_unit_blueprint_slim/`;
url = `${url}?scheduled_start_time_before=${endTime || ''}&scheduled_stop_time_after=${startTime || ''}`; url = `${url}?process_start_time_before=${endTime || ''}&process_stop_time_after=${startTime || ''}`;
let initialResponse = await axios.get(url); let initialResponse = await axios.get(url);
const totalCount = initialResponse.data.count; const totalCount = initialResponse.data.count;
const initialCount = initialResponse.data.results.length const initialCount = initialResponse.data.results.length
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment