]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/noticesearchrss.php
Twitter-compatible API - moved show() to the right file
[quix0rs-gnu-social.git] / actions / noticesearchrss.php
index 4e206c9a2549ab7b6caab7b29cb5ac747f1ddb89..c9d08ce8e77c1d2ba9af5f09b49a65c7b69a6252 100644 (file)
@@ -40,7 +40,7 @@ class NoticesearchrssAction extends Rss10Action {
                $q = strtolower($q);
 
                $notice->whereAdd('MATCH(content) against (\''.addslashes($q).'\')');
-               $notice->orderBy('created DESC');
+               $notice->orderBy('created DESC, notice.id DESC');
 
                # Ask for an extra to see if there's more.