mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
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:
@@ -117,7 +117,7 @@ public class UserFeedRetrieverWebScript extends DeclarativeWebScript
|
|||||||
Set<String> userFilter = null;
|
Set<String> userFilter = null;
|
||||||
if ((onlyFollowingStr != null) && (onlyFollowingStr.equalsIgnoreCase("true") || onlyFollowingStr.equalsIgnoreCase("t")))
|
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)
|
if (following.getPage() != null)
|
||||||
{
|
{
|
||||||
userFilter = new HashSet<String>();
|
userFilter = new HashSet<String>();
|
||||||
|
@@ -66,7 +66,8 @@ public abstract class AbstractSubscriptionServiceWebScript extends AbstractWebSc
|
|||||||
{
|
{
|
||||||
if (!subscriptionService.isActive())
|
if (!subscriptionService.isActive())
|
||||||
{
|
{
|
||||||
throw new WebScriptException(404, "Subscription service is disabled!");
|
res.setStatus(404);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
|
Reference in New Issue
Block a user