#29 Implement Workgroup (create query)
Create SQL query to get/set workgroup Add workgroup to article query
This commit is contained in:
@@ -22,6 +22,7 @@ begin
|
||||
select
|
||||
a.*,
|
||||
find_citizen_by_id(a.created_by_id) as created_by,
|
||||
find_workgroup_by_id(a.workgroup_id) as workgroup,
|
||||
count_vote(a.id) as votes,
|
||||
count_opinion(a.id) as opinions,
|
||||
zdb.score(a.ctid) _score
|
||||
|
||||
Reference in New Issue
Block a user