diff --git a/upub/core/src/selector/query.rs b/upub/core/src/selector/query.rs index 8fdf63f..4667773 100644 --- a/upub/core/src/selector/query.rs +++ b/upub/core/src/selector/query.rs @@ -58,6 +58,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()) + ); + if let Some(uid) = my_id { select = select .join(