diff --git a/mibios/glamr/tables.py b/mibios/glamr/tables.py index 384c513..1c3a4ec 100644 --- a/mibios/glamr/tables.py +++ b/mibios/glamr/tables.py @@ -371,7 +371,7 @@ def get_export_fields(self, columns): """ field_names = [] for i in super().get_export_fields(): - if i == 'ref_id': + if i == 'ref' or i == 'ref_id': # adds a join, but almost each row will have a distinct uniref, # so probably better than prefetch/caching field_names.append('ref__accession')