Making WordPress.org


Ignore:
Timestamp:
08/16/2018 06:37:45 AM (8 years ago)
Author:
dd32
Message:

Translate: Add a 100% Translated project filter to the project overview page.

This filter filters to the projects that all the other filters exclude.

Fixes #3763.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/inc/routes/class-locale.php

    r6851 r7615  
    850850                                $filter_order_by = "( stats.current / stats.all ) $sort_order, tp.name ASC";
    851851                                break;
     852
     853                        case 'completed':
     854                                $filter_where = 'AND stats.all > 0 AND stats.current = stats.all';
     855                                $filter_order_by = "tp.name $sort_order";
     856                                break;
     857
    852858                }
    853859
Note: See TracChangeset for help on using the changeset viewer.