- SELECT count(1) FROM (SELECT "issue".*, justify_interval(admission_time)::text AS "admission_time_text", justify_interval(discussion_time)::text AS "discussion_time_text", justify_interval(verification_time)::text AS "verification_time_text", justify_interval(voting_time)::text AS "voting_time_text", justify_interval(coalesce(issue.fully_frozen + issue.voting_time, issue.half_frozen + issue.verification_time, issue.accepted + issue.discussion_time, issue.created + issue.admission_time) - now()) AS "state_time_left", justify_interval(now() - issue.closed) AS "closed_ago" FROM "issue" INNER JOIN area ON area.id = issue.area_id WHERE (area.unit_id = 1) AND (issue.closed NOTNULL) AND (issue.closed NOTNULL) ORDER BY issue.closed DESC) AS "subquery" LIMIT 1;
- SELECT "issue".*, justify_interval(admission_time)::text AS "admission_time_text", justify_interval(discussion_time)::text AS "discussion_time_text", justify_interval(verification_time)::text AS "verification_time_text", justify_interval(voting_time)::text AS "voting_time_text", justify_interval(coalesce(issue.fully_frozen + issue.voting_time, issue.half_frozen + issue.verification_time, issue.accepted + issue.discussion_time, issue.created + issue.admission_time) - now()) AS "state_time_left", justify_interval(now() - issue.closed) AS "closed_ago" FROM "issue" INNER JOIN area ON area.id = issue.area_id WHERE (area.unit_id = 1) AND (issue.closed NOTNULL) AND (issue.closed NOTNULL) ORDER BY issue.closed DESC LIMIT 25 OFFSET 0;
- SELECT "area".* FROM "area" WHERE ("area"."id" IN (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1));
- SELECT "unit".* FROM "unit" WHERE ("unit"."id" IN (1));
- SELECT "policy".*, justify_interval(admission_time)::text AS "admission_time_text", justify_interval(discussion_time)::text AS "discussion_time_text", justify_interval(verification_time)::text AS "verification_time_text", justify_interval(voting_time)::text AS "voting_time_text" FROM "policy" WHERE ("policy"."id" IN (6, 1, 6, 6, 4, 1, 1, 1, 6, 1, 4, 4, 1, 4, 4, 4, 1, 1, 1, 1));
- SELECT "initiative".* FROM "initiative" WHERE ("initiative"."issue_id" IN (19, 20, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 5, 4, 6, 3, 2, 1)) ORDER BY initiative.admitted DESC NULLS LAST, initiative.rank NULLS LAST, initiative.harmonic_weight DESC NULLS LAST, id;
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show
EXECUTE VIEW: issue/_show