Ensure the results get set into query

pull/7481/head
Oliver Günther 5 years ago
parent 27264cf162
commit dac0a77e53
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 6
      frontend/src/app/components/wp-list/wp-states-initialization.service.ts

@ -94,6 +94,12 @@ export class WorkPackageStatesInitializationService {
this.states.schemas.get(schema.href as string).putValue(schema);
});
}
// Ensure we're setting the current results to the query
// This is due to 9.X still loading results from /api/v3/work_packages
// for a previously loaded query.
query.results = results;
this.querySpace.query.putValue(query);
this.querySpace.rows.putValue(results.elements);

Loading…
Cancel
Save