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
!353
Notification API performance optimizations
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Notification API performance optimizations
bw_notification_cache
into
develop
Overview
0
Commits
3
Pipelines
0
Changes
1
Merged
Bartek Wrona
requested to merge
bw_notification_cache
into
develop
4 years ago
Overview
0
Commits
3
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
a39cfe83
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
a39cfe83
Fixed call to bridge_get_account_posts_by_blog at bridge_api/methods.py
· a39cfe83
Bartek Wrona
authored
4 years ago
hive/server/bridge_api/methods.py
+
1
−
1
Options
@@ -284,7 +284,7 @@ async def get_account_posts(context, sort:str, account:str, start_author:str='',
sql
=
None
account_posts
=
True
# set when only posts (or reblogs) of given account are supposed to be in results
if
sort
==
'
blog
'
:
sql
=
"
SELECT * FROM bridge_get_account_posts_by_blog( (:account)::VARCHAR, (:author)::VARCHAR, (:permlink)::VARCHAR, (:limit)::
SMALLINT
)
"
sql
=
"
SELECT * FROM bridge_get_account_posts_by_blog( (:account)::VARCHAR, (:author)::VARCHAR, (:permlink)::VARCHAR, (:limit)::
INTEGER
)
"
elif
sort
==
'
feed
'
:
return
await
_get_account_posts_by_feed
(
db
,
account
,
start_author
,
start_permlink
,
limit
)
elif
sort
==
'
posts
'
:
Loading