Changeset 1872
- Timestamp:
- 09/11/2015 05:12:39 AM (10 years ago)
- Location:
- sites/trunk/translate.wordpress.org
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/routes/locale.php
r1848 r1872 430 430 if ( $can_approve_for_all ) { 431 431 // The current user can approve for all projects, so just grab all with any waiting strings. 432 $parent_project_sql = 'AND stats.waiting > 0';432 $parent_project_sql = 'AND ( stats.waiting > 0 OR stats.fuzzy > 0 )'; 433 433 434 434 } elseif ( $allowed_projects ) { … … 480 480 481 481 case 'strings-waiting': 482 $filter_where = 'AND stats.waiting > 0';483 $filter_order_by = 'stats. waiting DESC, tp.name ASC';482 $filter_where = 'AND (stats.waiting > 0 OR stats.fuzzy > 0 )'; 483 $filter_order_by = 'stats.fuzzy DESC, stats.waiting DESC, tp.name ASC'; 484 484 break; 485 485 -
sites/trunk/translate.wordpress.org/public_html/gp-templates/locale-projects.php
r1836 r1872 89 89 // Link directly to the Waiting strings if we're in the Waiting view, otherwise link to the project overview 90 90 if ( 'waiting' == $project->slug ) { 91 $project_url = gp_url_join( '/projects', $sub_project->path, $locale_slug, $set_slug ) . '?filters[status]=waiting ';91 $project_url = gp_url_join( '/projects', $sub_project->path, $locale_slug, $set_slug ) . '?filters[status]=waiting&filters[status]=fuzzy'; 92 92 } else { 93 93 $project_url = gp_url_join( '/locale', $locale_slug, $set_slug, $sub_project->path );
Note: See TracChangeset
for help on using the changeset viewer.