diff --git a/app/scodoc/gen_tables.py b/app/scodoc/gen_tables.py index 83752b5e8..2f13fdd8e 100644 --- a/app/scodoc/gen_tables.py +++ b/app/scodoc/gen_tables.py @@ -313,11 +313,11 @@ class GenTable: T.append(l + [self.bottom_titles.get(cid, "") for cid in self.columns_ids]) return T - def get_titles_list(self, with_lines_titles=True): + def get_titles_list(self): "list of titles" titles = [self.titles.get(cid, "") for cid in self.columns_ids] - if with_lines_titles: - titles.insert(0, "") + if "row_title" in self.titles and "row_title" not in self.columns_ids: + titles.insert(0, self.titles["row_title"]) return titles def gen(self, fmt="html", columns_ids=None):