cancel
Showing results for 
Search instead for 
Did you mean: 

Tag count more than 1000 not show in left panel (3.3g)

vincentng
Champ in-the-making
Champ in-the-making
In Share documentLibraray Tags area ( left pannel)

—————————
Tags
     draft(999)

—————————

If I tag one more file with tag "draft", the Tags area will show nothing. And if I remove one tag "draft", the Tags area will show "draft(999)" again.

I try to set system.acl.maxPermissionChecks=1000 to system.acl.maxPermissionChecks=10000 in repository.properties file, then restart alfresco, but still show nothing in Tags area if tag draft count more than 1000.

Can anyone help?
Thanks!
3 REPLIES 3

vincentng
Champ in-the-making
Champ in-the-making
Find the reason. Caz tag count over 1000 it will return "draft(1,000)", and JSON render the response's string with comma will has a problem.

Edit "tagging.lib.ftl" file and change
"count" : ${(item.count)}
to
"count" : ${(item.count + "")?replace(",","")}

Hope this will help!

mikeh
Star Contributor
Star Contributor
Actually, it should be
${item.count?c}

It was fixed on HEAD in September and therefore isn't a problem on newer versions.

Thanks,
Mike

vincentng
Champ in-the-making
Champ in-the-making
${item.count?c}

Works!

Thanks!