aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-02 23:02:44 -0800
committerzotlabs <mike@macgirvin.com>2017-03-02 23:02:44 -0800
commit155844f14260a66ac5476155bb65c5e3035230c8 (patch)
tree3f5692a77308e249e25ebcbf708dc99e8bd61629
parentcee9a20e85219c8628b853b57d0c366b31f3c0e0 (diff)
downloadvolse-hubzilla-155844f14260a66ac5476155bb65c5e3035230c8.tar.gz
volse-hubzilla-155844f14260a66ac5476155bb65c5e3035230c8.tar.bz2
volse-hubzilla-155844f14260a66ac5476155bb65c5e3035230c8.zip
reverse sort order
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 1abed81bf..c68bd3591 100644
--- a/include/text.php
+++ b/include/text.php
@@ -857,7 +857,7 @@ function tag_sort_length($a,$b) {
function total_sort($a,$b) {
if($a['total'] == $b['total'])
return 0;
- return(($b['total'] < $a['total']) ? 1 : (-1));
+ return(($b['total'] > $a['total']) ? 1 : (-1));
}