Quote:
Originally Posted by graham_w
Hi all, got the itrader info into my memberlist - but im just trying to figure out how to sort the itrader_total into order in the members list much the same as you can sort the posts. I've tried a few things but couldn't get it to work.
The posts sort in memberlist is this :
Quote:
<if condition="$show['postscol']"><td class="thead" nowrap="nowrap"><a href="$sorturl<if condition="!$show['sorturlnoargs']">&</if>order=DESC&sort=posts&pp=$perpage$userg rouplink">$vbphrase[posts]</a> $sortarrow[posts]</td></if>
|
so I tried setting the itrader to be this :
Quote:
<td class="thead" nowrap="nowrap"><a href="$sorturl<if condition="!$show['sorturlnoargs']">&</if>order=DESC&sort=itrader_total&pp=$perpa ge$usergrouplink">$vbphrase[itrader]</a> $sortarrow[itrader]</td>
|
The numbers display fine but the sort doesnt seem to recognise itrader_total and won't sort it in order. Anyone able to assist ?
|
Posted the above 2 months ago - just hoping someone might be able to guide me in the right direction to help sort the itrader list by itrader_total on the member list page. I have the Itrader totals and percentages displayed in the member info in their own column, just can't figure out how to sort them
Thanks in advance.