[interchange] Allow sorting of forum entries.

Peter Ajamian interchange-cvs at icdevgroup.org
Mon Dec 27 04:17:39 UTC 2010


commit c0430161d10f5616f287e132ce6113da9c59adf1
Author: Peter Ajamian <peter at pajamian.dhs.org>
Date:   Mon Dec 27 17:14:34 2010 +1300

    Allow sorting of forum entries.

 code/UserTag/forum.tag |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/code/UserTag/forum.tag b/code/UserTag/forum.tag
index f4097cc..5cf3b2c 100644
--- a/code/UserTag/forum.tag
+++ b/code/UserTag/forum.tag
@@ -214,7 +214,7 @@ EOF
 	  master		=> 'parent',
 	  subordinate	=> 'code',
 	  full			=> $opt->{full},
-	  sort			=> 'code',
+	  sort			=> $opt->{sort} || 'code',
 	  spacer		=> "&nbsp;",
 	  autodetect	=> 1,
 	  iterator		=> $menu_row,



More information about the interchange-cvs mailing list