aboutsummaryrefslogtreecommitdiffstats
path: root/mod/ratingsearch.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-03 22:55:01 -0800
committerfriendica <info@friendica.com>2015-02-03 22:55:01 -0800
commit0cc29af6d0c305efa35fbe3b0c7bc314f21b4166 (patch)
tree73577a93b6987b539d70cbc46ad6da146e99b19d /mod/ratingsearch.php
parent4ead2cd79d3c7e5c29a11785a3ceefef6d3ba93f (diff)
downloadvolse-hubzilla-0cc29af6d0c305efa35fbe3b0c7bc314f21b4166.tar.gz
volse-hubzilla-0cc29af6d0c305efa35fbe3b0c7bc314f21b4166.tar.bz2
volse-hubzilla-0cc29af6d0c305efa35fbe3b0c7bc314f21b4166.zip
order ratings friends first
Diffstat (limited to 'mod/ratingsearch.php')
-rw-r--r--mod/ratingsearch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/ratingsearch.php b/mod/ratingsearch.php
index 9a537bf97..ec2db570b 100644
--- a/mod/ratingsearch.php
+++ b/mod/ratingsearch.php
@@ -42,7 +42,7 @@ function ratingsearch_init(&$a) {
$ret['success'] = true;
$r = q("select * from xlink left join xchan on xlink_xchan = xchan_hash
- where xlink_link = '%s' and xlink_rating != 0 and xlink_static = 1",
+ where xlink_link = '%s' and xlink_rating != 0 and xlink_static = 1 order by xchan_name asc",
dbesc($p[0]['xchan_hash'])
);