fix: added 500 post limit to sidebar
This commit is contained in:
1 parent
989efeaf25
commit
5239c7bee3
3 files changed
+17
-1
No files matched your search
@@ -847,9 +847,11 @@ impl BdsApp {
|
||||
&project.id,
|
||||
)
|
||||
.unwrap_or(0) as usize;
|
||||
self.sidebar_posts = bds_core::db::queries::post::list_posts_by_project(
|
||||
self.sidebar_posts = bds_core::db::queries::post::list_posts_by_project_limited(
|
||||
db.conn(),
|
||||
&project.id,
|
||||
500,
|
||||
0,
|
||||
)
|
||||
.unwrap_or_default();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user