allow loading of pes by id.

pull/541/head
Nils Kenneweg 11 years ago
parent 7f29dddd19
commit 1b87a7437a
  1. 2
      app/assets/javascripts/timelines.js
  2. 4
      app/controllers/api/v2/planning_elements_controller.rb
  3. 1
      doc/CHANGELOG.md

@ -4971,7 +4971,7 @@ Timeline = {
// construct tooltip content information.
info += "<b>";
info += this.escape(renderable.name);
info += this.escape(renderable.subject);
info += "</b>";
if (renderable.is(Timeline.PlanningElement)) {
info += " (*" + renderable.id + ")";

@ -119,7 +119,9 @@ module Api
# Filters
def find_all_projects_by_project_id
if params[:project_id] !~ /,/
if !params[:project_id] then
@planning_elements = WorkPackage.find_all_by_id(params[:ids])
elsif params[:project_id] !~ /,/
find_project_by_project_id unless performed?
authorize unless performed?
assign_planning_elements(@project) unless performed?

@ -38,6 +38,7 @@ See doc/COPYRIGHT.rdoc for more details.
* `#2371` Add support for IE10 to Timelines
* `#2448` Accelerate work package updates
* `#2464` No initial attachment journal for messages
* `#2470` [Timelines] Vertical planning elements which are not displayed horizontally are not shown in timeline report
* `#2479` Remove TinyMCE spike
* `#2557` Highlight changes of any work package attribute available in the timelines table
* `#2559` Migrate existing IssueCustomFields to WorkPackageCustomFields

Loading…
Cancel
Save