mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-27 16:26:37 +03:00
Removed not-needed extra line
This commit is contained in:
parent
1c9ce0ede0
commit
dd6bcd68cc
1 changed files with 2 additions and 3 deletions
|
@ -41,9 +41,8 @@ class TagRepository extends EntitySpecificationRepository implements TagReposito
|
|||
*/
|
||||
public function findTagsWithInfo(?TagsListFiltering $filtering = null): array
|
||||
{
|
||||
$orderBy = $filtering?->orderBy();
|
||||
$orderField = $orderBy?->orderField();
|
||||
$orderDir = $orderBy?->orderDirection();
|
||||
$orderField = $filtering?->orderBy()?->orderField();
|
||||
$orderDir = $filtering?->orderBy()?->orderDirection();
|
||||
$orderMainQuery = contains(['shortUrlsCount', 'visitsCount'], $orderField);
|
||||
|
||||
$conn = $this->getEntityManager()->getConnection();
|
||||
|
|
Loading…
Reference in a new issue