Bug to filtering Custom post type or taxomony
-
it seems there are a bug with filter. For some custom type i filter as supplier
the filter dropdown display twice time, and i get no resultExemple :
edit.php?s&post_status=all&post_type=catalogs&action=-1&cover_suppliers=0&suppliers=my-suppliers&lang=fr&seo_filter&paged=1&mode=list&action2=-1
but if i replace in the url (http) the suppliers slug but his id, i get the results. I think it’s not appropriate to use slug because if you have same slug, or composed slug, the filter doesn’t find resultsforeach ($terms as $term) { $taxonomy_type_group .= sprintf('<option value="%1$s" %2$s >%3$s</option>' , $term->term_id , $_GET[$tax_obj->query_var] == $term->term_id ? 'selected="selected"' : '' , $term->name ); //var_dump($term); }
What do you think ?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug to filtering Custom post type or taxomony’ is closed to new replies.