Add office stats for dashboard
November 11th, 2025
  • for single office use stats_for_programme field in committee query.
  • stats_for_programme {
          approved_count
          realized_count
          completed_count
          rank
        }

  • for list use below query
  • directions can be [incoming outgoing]

query OfficeStats {
  officeStats(tag: "LC", programme_id: 7, direction: "incoming") {
    rank
    office {
      name
    }
    approved_count
    realized_count
    completed_count
  }
}

X
Crafted by