[
https://issues.apache.org/jira/browse/SHINDIG-692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Chabot closed SHINDIG-692.
--------------------------------
The jsondb changes have been committed too, the only change i've done is to add
support for @viewer and @owner, ie:
if ($filter == "@friends" && $filterOp == "contains" &&
isset($filterValue)) {
if ($options->getFilterValue() == '@viewer') {
$filterValue = $token->getViewerId();
} elseif ($options->getFilterValue() == '@owner') {
$filterValue = $token->getOwnerId();
}
$ids = $this->getMutualFriends($ids, $filterValue);
}
Thanks!
> Support CollectionOptions in JsonDb example
> -------------------------------------------
>
> Key: SHINDIG-692
> URL: https://issues.apache.org/jira/browse/SHINDIG-692
> Project: Shindig
> Issue Type: Bug
> Components: PHP
> Reporter: Chris Chabot
> Assignee: Chris Chabot
> Attachments: isfriendswith-patch.patch
>
>
> Right now the json db driven example doesn't support the various filter
> options that the social api has, such as contains 'foo', top_friends,
> has_app, etc. We should really add this :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.