diff --git a/Model/lib/psql/webready/orgSpecific/OrganismAbbreviation.psql b/Model/lib/psql/webready/orgSpecific/OrganismAbbreviation.psql index 42dd053e9..8959fd0f1 100644 --- a/Model/lib/psql/webready/orgSpecific/OrganismAbbreviation.psql +++ b/Model/lib/psql/webready/orgSpecific/OrganismAbbreviation.psql @@ -2,7 +2,7 @@ :CREATE_AND_POPULATE select tn.name as organism, o.name_for_filenames, - translate(':ORG_ABBREV', '.-', '') AS sanitized_org_abbrev, -- remove . and - for use in database object names + o.sanitized_abbrev AS sanitized_org_abbrev, -- remove . and - for use in database object names ':PROJECT_ID' as project_id, ':ORG_ABBREV' as org_abbrev, CURRENT_TIMESTAMP as modification_date from apidb.Organism o, sres.TaxonName tn where o.taxon_id = tn.taxon_id