Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hivemind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hivemind
Merge requests
!359
Supplemented missing condition to get account posts by blog
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Supplemented missing condition to get account posts by blog
bw_get_account_posts_by_blog_fix2
into
develop
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Bartek Wrona
requested to merge
bw_get_account_posts_by_blog_fix2
into
develop
4 years ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
5d950778
2 commits,
4 years ago
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
hive/db/sql_scripts/bridge_get_account_posts_by_blog.sql
+
1
−
1
Options
@@ -67,7 +67,7 @@ BEGIN
WHERE
hfc
.
account_id
=
__account_id
AND
(
__post_id
=
0
OR
hfc
.
created_at
<=
__created_at
)
AND
NOT
EXISTS
(
SELECT
NULL
FROM
hive_posts
hp
WHERE
hp
.
id
=
hfc
.
post_id
AND
hp
.
counter_deleted
=
0
AND
hp
.
depth
=
0
AND
hp
.
community_id
IS
NOT
NULL
AND
NOT
EXISTS
(
SELECT
NULL
FROM
hive_reblogs
hr
WHERE
hr
.
blogger_id
=
__account_id
)
AND
NOT
EXISTS
(
SELECT
NULL
FROM
hive_reblogs
hr
WHERE
hr
.
blogger_id
=
__account_id
AND
hr
.
post_id
=
hp
.
id
)
)
ORDER
BY
created_at
DESC
LIMIT
_limit
Loading