Bring heading type values in line with what the template expects
authorKarl O. Pinc <kop@karlpinc.com>
Sun, 18 Aug 2024 19:08:28 +0000 (14:08 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Sun, 18 Aug 2024 19:08:28 +0000 (14:08 -0500)
src/pgwui_sql/views/sql.py

index 143f3a5f433c447f940ea6cfdfec9a937a61027b..bab967cab00a300685912145c7722bd65d0e6f2f 100644 (file)
@@ -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