Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/13/2015 10:14:37 PM (10 years ago)
Author:
imath
Message:

Make sure sorting blogs alphabetically is fetching items

Since r9328 we have changed the table aliases used in the sql query to get the blogs, but we forgot to edit the order clause so that the alphabetical type uses the new table alias (bm_name).

Fixes #6118

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/bp-blogs-classes.php

    r9351 r9354  
    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':
Note: See TracChangeset for help on using the changeset viewer.