You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Chris Chabot (JIRA)" <ji...@apache.org> on 2009/06/25 11:51:09 UTC
[jira] Closed: (SHINDIG-692) Support CollectionOptions in JsonDb
example
[ 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.