Fixed following filter in activities dashlet

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28938 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Florian Mü
2011-07-12 10:32:24 +00:00
parent 22e9801c0c
commit 94e7cd42b1
2 changed files with 3 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ public class UserFeedRetrieverWebScript extends DeclarativeWebScript
Set<String> userFilter = null;
if ((onlyFollowingStr != null) && (onlyFollowingStr.equalsIgnoreCase("true") || onlyFollowingStr.equalsIgnoreCase("t")))
{
PagingFollowingResults following = subscriptionService.getFollowers(AuthenticationUtil.getRunAsUser(), new PagingRequest(-1, null));
PagingFollowingResults following = subscriptionService.getFollowing(AuthenticationUtil.getRunAsUser(), new PagingRequest(-1, null));
if (following.getPage() != null)
{
userFilter = new HashSet<String>();

View File

@@ -66,7 +66,8 @@ public abstract class AbstractSubscriptionServiceWebScript extends AbstractWebSc
{
if (!subscriptionService.isActive())
{
throw new WebScriptException(404, "Subscription service is disabled!");
res.setStatus(404);
return;
}
try