Fixed input tag shown as its own sibling
This commit is contained in:
parent
f7215c42d9
commit
c43db03624
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ class TagDao extends AbstractDao implements ICrudDao
|
||||||
->groupBy('tags.id')
|
->groupBy('tags.id')
|
||||||
->orderBy('postCount DESC, name ASC');
|
->orderBy('postCount DESC, name ASC');
|
||||||
$arrayEntities = iterator_to_array($query);
|
$arrayEntities = iterator_to_array($query);
|
||||||
|
array_shift($arrayEntities); //don't show input tag itself
|
||||||
return $this->arrayToEntities($arrayEntities);
|
return $this->arrayToEntities($arrayEntities);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue