concerto-addons / concerto_emergency

Emergency Management integration for Concerto
Other
0 stars 0 forks source link

fixes #15 by only pulling the kind of content the field can handle #17

Closed mfrederickson closed 8 years ago

mfrederickson commented 8 years ago

Since we cannot use subscriptions to filter the content like the non-emergency frontend contents_controller does (we do not have a specific screen because by virtue of this plugin we're sending to all screens) we instead filter by the type of content that the field can handle.

What was happening was that all submitted, approved content in the emergency feed was going to all fields-- so it was showing graphics in the ticker and text areas and text and ticker content in the graphic areas.

@gbprz should look this over and make sure it still satisfies his expectations before merging.