Commit 871c9c60c4a366c6dbb8a1a2e4e44760eff43a24
1 parent
3a2ff4c4
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
limit lobby notes by profile
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/notification/controllers/notification_plugin_profile_controller.rb
| ... | ... | @@ -18,7 +18,7 @@ class NotificationPluginProfileController < ProfileController |
| 18 | 18 | end |
| 19 | 19 | |
| 20 | 20 | def index |
| 21 | - @events = current_person.lobby_notes | |
| 21 | + @events = current_person.lobby_notes.find(:all, :conditions => {:profile => profile } ) | |
| 22 | 22 | @event = NotificationPlugin::LobbyNoteContent.new |
| 23 | 23 | end |
| 24 | 24 | ... | ... |