Skip to content

Commit

Permalink
Merge branch 'release-1.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Levia committed Nov 14, 2019
2 parents a5d3673 + 6876822 commit 101c22f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### 1.2.2

**Species+ Admin:**

* Hotfix for copying EU suspensions across events

### 1.2.1

**Trade Admin**
Expand Down
4 changes: 2 additions & 2 deletions app/workers/event_eu_suspension_copy_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ class EventEuSuspensionCopyWorker
def perform(from_event_id, to_event_id)
ActiveRecord::Base.connection.execute <<-SQL
SELECT * FROM copy_eu_suspensions_across_events(
#{from_event_id},
#{to_event_id}
#{from_event_id.to_i},
#{to_event_id.to_i}
)
SQL
eu_suspension_regulation = EuSuspensionRegulation.find(to_event_id)
Expand Down

0 comments on commit 101c22f

Please sign in to comment.