summaryrefslogtreecommitdiff
path: root/src/birka-web.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/birka-web.rs')
-rw-r--r--src/birka-web.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/birka-web.rs b/src/birka-web.rs
index a3bed1d..cd68923 100644
--- a/src/birka-web.rs
+++ b/src/birka-web.rs
@@ -277,7 +277,7 @@ fn display_posts(conn: SiteState, query: String, last: Option<i64>) -> Result<Te
.lock()
.map_err(|_| anyhow!("Could not lock database."))?
.tb;
- tb.top_tags(20)?
+ tb.top_tags(Some(20))?
.iter()
.map(|tup| TagResult {
name: tup.1.clone(),