Changeset 1837
- Timestamp:
- 08/19/2015 04:48:07 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/routes/locale.php
r1835 r1837 445 445 // Float Favorites to the start, float fully translated to the bottom, order the rest by name 446 446 if ( $user_fav_projects ) { 447 $filter_order_by = 'FIELD( tp.path, "' . implode( '", "', $user_fav_projects ) . '" ) > 0 AND stats.untranslated > 0 DESC, stats.untranslated > 0 DESC, tp.name ASC';447 $filter_order_by = 'FIELD( tp.path, "' . implode( '", "', $user_fav_projects ) . '" ) > 0 AND stats.untranslated > 0 DESC, stats.untranslated > 0 DESC, stats.untranslated DESC, tp.name ASC'; 448 448 } else { 449 $filter_order_by = 'stats.untranslated > 0 DESC, tp.name ASC';449 $filter_order_by = 'stats.untranslated > 0 DESC, stats.untranslated DESC, tp.name ASC'; 450 450 } 451 451 break;
Note: See TracChangeset
for help on using the changeset viewer.