Making WordPress.org


Ignore:
Timestamp:
11/13/2015 05:42:43 AM (9 years ago)
Author:
dd32
Message:

Translate: Fix the "Waiting + Fuzzy (Least First)" to actually reverse-sort so the least are first.
See #1122

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/routes/locale.php

    r2072 r2080  
    493493            case 'strings-waiting-and-fuzzy':
    494494                $filter_where = 'AND (stats.waiting > 0 OR stats.fuzzy > 0 )';
    495                 $filter_order_by = "tp.path LIKE 'wp/%%' AND (stats.fuzzy + stats.waiting) > 0 DESC, (stats.fuzzy + stats.waiting) DESC, tp.name ASC";
     495                $filter_order_by = "tp.path LIKE 'wp/%%' AND (stats.fuzzy + stats.waiting) > 0 DESC, (stats.fuzzy + stats.waiting) $sort_order, tp.name ASC";
    496496                break;
    497497
Note: See TracChangeset for help on using the changeset viewer.