in progress Changing Sort Order in two content blocks

Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
There were comments added to one of the discussions in one of my Group's Forums today. However, the sort order for "Recent Active Groups" on the Home Page did not reflect the addition of the new comment. I want whatever Group's are being updated to be at the top of the list.

group_comment_count numerical_desc is the sort order now.

updated asc will get me what I want?

                <div class="blog-index-text" style="{if !jrCore_is_mobile_device()}height:410px; font: 10px/12px; overflow-y:scroll; overflow-x:hidden;{/if}margin: 10px 10px 0 10px;padding-bottom: 10px;">
                 	{if isset($_conf.nsTCLSkin1_top_group_ids) && strlen($_conf.nsTCLSkin1_top_group_ids) > 0}
                 		{jrCore_list module="jrGroup" order_by="group_comment_count numerical_desc" limit=$group_pb search="_item_id in `$_conf.nsTCLSkin1_top_group_ids`" template=$group_tpl}
                	{else}
                    	{jrCore_list module="jrGroup" order_by="group_comment_count numerical_desc" limit=$group_pb template=$group_tpl}
                    {/if}

I have the same issue on my profile page - though in this case it's the most recent group post that's been updated. I am guessing it's a similar change (which I thought I had made), but -- because it's on the profile page, is the template I am looking for in Profiles, Groups? item_list? item_detail?
ScreenShotHomeSort.jpg


updated by @claygordon: 03/13/15 09:21:08AM
brian
@brian
10 years ago
10,148 posts
You want to use:

_updated desc

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
thechocolatelife:
I have the same issue on my profile page - though in this case it's the most recent group post that's not being updated. I am guessing it's a similar change (which I thought I had made), but -- because it's on the profile page, is the template I am looking for in Profiles, Groups? item_list? item_detail?
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
not quite what I imagined after changing the sort order.

-- edited to add --

Never mind, figured it out. Needed to reset template cache.
jpg
 •  227KB


updated by @claygordon: 01/20/15 04:33:12PM
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
OTOH - the group that was last updated was DIY and it's not at the top of the list.

If you click on the DIY group, the post that was commented on today was Vibrating table and it's not at the top of the list.

Maybe comments to a Group Discussion are not considered updates? That doesn't make sense because they are in this forum.
updated by @claygordon: 01/20/15 04:36:02PM

Tags