mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Speaker is also able to see the proposal and able to modify it
This commit is contained in:
parent
e5009f168c
commit
ac8b187f1f
2 changed files with 16 additions and 6 deletions
|
|
@ -216,7 +216,7 @@ class User < ApplicationRecord
|
|||
end
|
||||
|
||||
def proposals(conference)
|
||||
events.where('program_id = ? AND event_users.event_role=?', conference.program.id, 'submitter')
|
||||
events.where('program_id = ? AND (event_users.event_role=? OR event_users.event_role=?)', conference.program.id, 'submitter', 'speaker')
|
||||
end
|
||||
|
||||
def proposal_count(conference)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue