diff --git a/upub/routes/src/activitypub/application.rs b/upub/routes/src/activitypub/application.rs index b20ae19..2984bca 100644 --- a/upub/routes/src/activitypub/application.rs +++ b/upub/routes/src/activitypub/application.rs @@ -59,7 +59,7 @@ pub async fn search( } filter = Condition::all() - .add(upub::model::object::Column::Content.like(page.q)) + .add(upub::model::object::Column::Content.like(format!("%{}%", page.q))) .add(filter); // TODO lmao rethink this all