Fixed category filter in admin. Closes #82.

This commit is contained in:
Mike Jolley 2011-10-22 13:37:47 +01:00
parent bfc9ad433e
commit 47a0453020
2 changed files with 3 additions and 0 deletions

View File

@ -307,6 +307,8 @@ function woocommerce_products_by_category() {
foreach($terms as $term) :
if ( isset( $wp_query->query['product_cat'] ) ) :
$output .="<option value='$term->slug' ".selected($term->slug, $wp_query->query['product_cat'], false).">$term->name ($term->count)</option>";
else :
$output .="<option value='$term->slug'>$term->name ($term->count)</option>";
endif;
endforeach;
$output .="</select>";

View File

@ -62,6 +62,7 @@ For further documentation on using WooCommerce, please sign up for free at http:
* Coupons can be applied to variations (by ID)
* Fixed up/cross-sell removal
* Fixed image (zoom) URL after variation selection
* Fixed category filter in admin
= 1.1.1 - 16/10/2011 =
* Products need a base, regardless of category settings - added base to prevent pages breaking