Fixing syntax error

pull/6827/head
Gregor Schmidt 13 years ago
parent 81b21cd327
commit 44bf4452a7
  1. 2
      lib/redmine_backlogs/patches/version_patch.rb

@ -18,7 +18,7 @@ module RedmineBacklogs::Patches::VersionPatch
Issue.transaction do
# remove position from all non-stories
Issue.update_all(:position => nil, ['project_id = ? AND tracker_id NOT IN (?) AND position IS NOT NULL', project, Story.trackers])
Issue.update_all({:position => nil}, ['project_id = ? AND tracker_id NOT IN (?) AND position IS NOT NULL', project, Story.trackers])
# add issues w/o position to the top of the list
# and add issues, that have a position, at the end

Loading…
Cancel
Save