mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 22:21:11 +00:00
Bugfix conference#calculate_items_per_week
This commit is contained in:
parent
84a26b8d02
commit
54ac8a8fb7
3 changed files with 29 additions and 9 deletions
|
|
@ -21,11 +21,11 @@ class Admin::ConferenceController < ApplicationController
|
|||
@conferences.each do |c|
|
||||
# Event submissions over time chart
|
||||
@submissions[c.short_title] = c.get_submissions_per_week
|
||||
@cfp_weeks.push(c.cfp_weeks)
|
||||
@cfp_weeks.push(@submissions[c.short_title].length)
|
||||
|
||||
# Conference registrations over time chart
|
||||
@registrations[c.short_title] = c.get_registrations_per_week
|
||||
@registration_weeks.push(c.registration_weeks)
|
||||
@registration_weeks.push(@registrations[c.short_title].length)
|
||||
end
|
||||
|
||||
@cfp_weeks = @cfp_weeks.max
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue