|
|
@ -157,7 +157,7 @@ function WorkPackageService($http, PathHelper, UrlParamsHelper, WorkPackagesHelp |
|
|
|
|
|
|
|
|
|
|
|
getWorkPackagesByQueryId: function(projectIdentifier, queryId) { |
|
|
|
getWorkPackagesByQueryId: function(projectIdentifier, queryId) { |
|
|
|
var url = projectIdentifier ? PathHelper.apiProjectWorkPackagesPath(projectIdentifier) : PathHelper.apiWorkPackagesPath(); |
|
|
|
var url = projectIdentifier ? PathHelper.apiProjectWorkPackagesPath(projectIdentifier) : PathHelper.apiWorkPackagesPath(); |
|
|
|
var params = queryId ? { query_id: queryId } : DEFAULT_FILTER_PARAMS; |
|
|
|
var params = queryId ? { queryId: queryId } : DEFAULT_FILTER_PARAMS; |
|
|
|
return WorkPackageService.doQuery(url, params); |
|
|
|
return WorkPackageService.doQuery(url, params); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|