|
|
|
@ -61,9 +61,11 @@ class WorkPackagesController < ApplicationController |
|
|
|
|
:protect_from_unauthorized_export, :only => [:index, :all, :preview] |
|
|
|
|
before_filter :load_query, :only => :index |
|
|
|
|
|
|
|
|
|
DEFAULT_WORK_PACKAGE_PROPERTIES = [:status, :assignee, :responsible, :category, |
|
|
|
|
# The order in here is actually imporant for the angular client. |
|
|
|
|
# The first 6 are always to be displayed. |
|
|
|
|
DEFAULT_WORK_PACKAGE_PROPERTIES = [:status, :assignee, :responsible, |
|
|
|
|
:date, :percentageDone, :priority, |
|
|
|
|
:estimatedTime, :versionName, :spentTime] |
|
|
|
|
:category, :estimatedTime, :versionName, :spentTime] |
|
|
|
|
|
|
|
|
|
def show |
|
|
|
|
respond_to do |format| |
|
|
|
|