-
Notifications
You must be signed in to change notification settings - Fork 57
Description
Hi Stephpy
I'm not sure that problem is my misunderstand or not
my problem
-
create
$actionManager = $this->get('spy_timeline.action_manager');
$subject = $actionManager->findOrCreateComponent('a\model', 'chucknorris');
$action = $actionManager->create($subject, 'control', array('directComplement' => 'the world'));
$actionManager->updateAction($action); -
get timeline
$actionManager = $this->get('spy_timeline.action_manager');
$timelineManager = $this->get('spy_timeline.timeline_manager');
$subject = $actionManager->findOrCreateComponent('a\model', 'chucknorris');
$timeline = $timelineManager->getTimeline($subject);
if filter_unresolved = false, get the related items
{"coll":{"items":[..........],"last_page":1,"page":1,"nb_results":1}}
if filter_unresolved = true, get nothing, i don't know why it filter out self action.
{"coll":{"items":[],"last_page":1,"page":1,"nb_results":1}}
regards
Oscar