
no-reply at lighthouseapp
Oct 18, 2010, 11:29 PM
Post #1 of 2
(253 views)
Permalink
|
|
[Bricolage #212] output channels list in story/media profile out of context
|
|
// Add your reply above here ================================================== Zdravko Balorda updated this ticket at October 19th, 2010 @ 06:29 AM The story profile page involves a section for assigning OC to a story. As it is all OC associated to a Story element are listed regardless of site context. Proper behaviour would be to list only OC associated to a story site only. I suggest a fix for this: + % my $sid = $story->get_site_id; % my $all_ocs = [ + % grep { $_->get_site_id == $sid && !$curr_ocs->{$_->get_id} && chk_authz($_, READ, 1) } - % grep { ! $curr_ocs->{$_->get_id} && chk_authz($_, READ, 1) } % $story->get_element_type->get_output_channels % ]; in comp/widgets/story_prof/list_output_channels.html. The same goes for media profile. Regards, Zdravko -------------------------------------------------------------------------------- Assigned: Bugs (at bricolage) State: new View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/212-output-channels-list-in-storymedia-profile-out-of-context Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/212-output-channels-list-in-storymedia-profile-out-of-context/watch Update your Profile: http://bricolage.lighthouseapp.com/profile Support: support [at] lighthouseapp or http://help.lighthouseapp.com
|