From: Karl O. Pinc Date: Sun, 18 Aug 2024 19:08:28 +0000 (-0500) Subject: Bring heading type values in line with what the template expects X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=6c4f5750c122bd1c6228bfb14acb0473495b639c;p=pgwui_sql Bring heading type values in line with what the template expects --- diff --git a/src/pgwui_sql/views/sql.py b/src/pgwui_sql/views/sql.py index 143f3a5..bab967c 100644 --- a/src/pgwui_sql/views/sql.py +++ b/src/pgwui_sql/views/sql.py @@ -97,8 +97,8 @@ class SQLResult(): self.data = data return self - def build_header_row(self, cur): - self.type = 'header' + def build_heading_row(self, cur): + self.type = 'heading' self.data = [col.name for col in cur.description] return self