Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix repositories for pgsql #86

Merged
merged 2 commits into from
Apr 24, 2020
Merged

Fix repositories for pgsql #86

merged 2 commits into from
Apr 24, 2020

Conversation

yiiliveext
Copy link
Contributor

Q A
Is bugfix? ✔️
New feature?
Breaks BC?
Tests pass? ✔️

@yiiliveext yiiliveext requested a review from a team April 23, 2020 14:28
@@ -69,7 +69,7 @@ public function getTagMentions(int $limit = 0): DataReaderInterface
->columns(['t.label', 'count(*) count'])
->innerJoin('post', 'p')->on('p.id', 'postTag.post_id')->onWhere(['p.public' => true])
->innerJoin('tag', 't')->on('t.id', 'postTag.tag_id')
->groupBy('tag_id');
->groupBy('t.label, tag_id');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also append a table name to tag_id?

src/Blog/Archive/ArchiveRepository.php Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants