? prefer_unique_terms.patch Index: similarterms.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/similarterms/similarterms.module,v retrieving revision 1.19 diff -p -u -r1.19 similarterms.module --- similarterms.module 6 Dec 2008 18:17:00 -0000 1.19 +++ similarterms.module 7 Jan 2009 12:16:07 -0000 @@ -177,7 +177,7 @@ function similarterms_list($vocid = 0, $ 'AND n.status = 1 '. 'AND n.moderate = 0 '. 'GROUP BY n.nid, n.title, n.created '. - 'ORDER BY ncount DESC, n.created DESC '. + 'ORDER BY ncount ASC, n.created DESC '. 'LIMIT %d', $terms, $nid, $count); } @@ -191,7 +191,7 @@ function similarterms_list($vocid = 0, $ 'AND n.status = 1 '. 'AND n.moderate = 0 '. 'GROUP BY n.nid, n.title, n.created '. - 'ORDER BY ncount DESC, n.created DESC '. + 'ORDER BY ncount ASC, n.created DESC '. 'LIMIT %d', $terms, $nid, $count); }