Jeff-Lewis / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Recent comment list includes inactivated comments #540

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a comment to an article
2. Use $service.getRecentComments(5) to get a list
3. Set comment to inactivated via admin GUI

What is the expected output? What do you see instead?
Expected: Inactivated comment not appearing in list. 
See: Comment appearing in list.

Original issue reported on code.google.com by jka...@gmail.com on 6 Jan 2012 at 9:27

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Sorry, this is not a bug, just ignore this issue! 

The problem is simply solved by using #if ($recentcomment.disabled == false) 
... 

Original comment by jka...@gmail.com on 6 Jan 2012 at 10:43

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1129.

Original comment by kinyelo@gmail.com on 13 Jan 2012 at 10:41