fix: add published field while selecting objects
This commit is contained in:
parent
54b05f79ed
commit
0c6be216b7
1 changed files with 5 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue