Skip to:
Content

BuddyPress.org

Ticket #6118: 6118.patch

File 6118.patch, 495 bytes (added by imath, 9 years ago)
  • src/bp-blogs/bp-blogs-classes.php

    diff --git src/bp-blogs/bp-blogs-classes.php src/bp-blogs/bp-blogs-classes.php
    index 71142c9..24ff8c5 100644
    class BP_Blogs_Blog { 
    156156                                $order_sql = "ORDER BY bm.meta_value DESC";
    157157                                break;
    158158                        case 'alphabetical':
    159                                 $order_sql = "ORDER BY bm2.meta_value ASC";
     159                                $order_sql = "ORDER BY bm_name.meta_value ASC";
    160160                                break;
    161161                        case 'newest':
    162162                                $order_sql = "ORDER BY wb.registered DESC";