From 1c86110ed4e8da460d5c56a9b971f56e9be43dd6 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 4 Jul 2024 03:26:47 +0200 Subject: [PATCH] fix: include published column in hashtags feed --- upub/core/src/selector/query.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/upub/core/src/selector/query.rs b/upub/core/src/selector/query.rs index 96571a6e..bc8e2aac 100644 --- a/upub/core/src/selector/query.rs +++ b/upub/core/src/selector/query.rs @@ -102,6 +102,11 @@ impl Query { select = select.select_column_as(col, format!("{}{}", model::object::Entity.table_name(), col.to_string())); } + select = select.select_column_as( + model::addressing::Column::Published, + format!("{}{}", model::addressing::Entity.table_name(), model::addressing::Column::Published.to_string()) + ); + select }