FIX: New topics were not showing in suggested

This commit is contained in:
Robin Ward 2014-11-10 15:20:01 -05:00
parent a6b1be81b1
commit f414020be8
1 changed files with 14 additions and 14 deletions

View File

@ -17,36 +17,36 @@
</thead> </thead>
<tbody> <tbody>
{{#grouped-each topic in topics}} {{#each topics}}
<tr {{bind-attr class="archived"}}> <tr {{bind-attr class="archived"}}>
<td class='main-link'> <td class='main-link'>
{{topic-status topic=topic}} {{topic-status topic=this}}
<a class='title' href="{{unbound topic.lastUnreadUrl}}">{{{unbound topic.fancy_title}}}</a> <a class='title' href="{{unbound lastUnreadUrl}}">{{{unbound fancy_title}}}</a>
{{topic-post-badges unread=topic.unread {{topic-post-badges unread=unread
newPosts=topic.new_posts newPosts=new_posts
unseen=topic.unseen unseen=unseen
url=topic.lastUnreadUrl}} url=lastUnreadUrl}}
</td> </td>
{{raw "list/category-column" hideCategory=controller.hideCategory category=topic.category}} {{raw "list/category-column" hideCategory=controller.hideCategory category=category}}
{{posts-count-column topic=topic class="num" action="clickedPosts"}} {{posts-count-column topic=this class="num" action="clickedPosts"}}
{{#if controller.showParticipants}} {{#if controller.showParticipants}}
<td class='participants'> <td class='participants'>
{{#each topic.participants}} {{#each participants}}
<a href="{{user.path}}" class="{{extras}}">{{avatar this usernamePath="user.username" imageSize="small"}}</a> <a href="{{user.path}}" class="{{extras}}">{{avatar this usernamePath="user.username" imageSize="small"}}</a>
{{/each}} {{/each}}
</td> </td>
{{/if}} {{/if}}
<td {{bind-attr class=":num :views topic.viewsHeat"}}> <td {{bind-attr class=":num :views viewsHeat"}}>
{{number topic.views numberKey="views_long"}} {{number views numberKey="views_long"}}
</td> </td>
{{raw "list/activity-column" topic=topic class="num" tagName="td"}} {{raw "list/activity-column" topic=this class="num" tagName="td"}}
</tr> </tr>
{{/grouped-each}} {{/each}}
</tbody> </tbody>
</table> </table>