@ -56,6 +56,7 @@ angular.module('openproject.workPackages.controllers')
function initialSetup() {
$scope.operatorsAndLabelsByFilterType = OPERATORS_AND_LABELS_BY_FILTER_TYPE;
$scope.disableFilters = false;
$scope.disableNewWorkPackage = true;
var getWorkPackages, params;
if($scope.query_id){
@ -183,6 +183,7 @@ module Api
def work_packages_links
links = {}
links[:create] = api_experimental_query_path(@project) if User.current.allowed_to?(:add_work_packages, @project)
links
end
def query_as_json(query, user)