Skip to content

Commit

Permalink
Merge branch '2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
jadwigo committed Aug 28, 2015
2 parents 0b13b34 + 1e77ca7 commit f207a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function getFullTaxonomy($name = null, $taxonomy = null, $params = null) {

// the normal query
$query = sprintf(
"SELECT COUNT(name) as count, slug, name FROM %s WHERE taxonomytype IN ('%s') GROUP BY name ORDER BY %s",
"SELECT COUNT(name) as count, slug, name FROM %s WHERE taxonomytype IN ('%s') GROUP BY name,slug,sortorder ORDER BY %s",
$tablename,
$name,
$sortorder
Expand Down

0 comments on commit f207a43

Please sign in to comment.