Skip to content

Commit

Permalink
Resolving #879
Browse files Browse the repository at this point in the history
  • Loading branch information
adkinsrs committed Aug 27, 2024
1 parent 68bab1f commit ebe8d80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/geardb.py
Original file line number Diff line number Diff line change
Expand Up @@ -2599,11 +2599,11 @@ def save(self):
# ID is empty, this is a new one
# Insert the cart and then add the members
gc_insert_qry = """
INSERT INTO gene_cart (user_id, label, organism_id, share_id, is_public, is_domain, gctype)
VALUES (%s, %s, %s, %s, %s, %s, %s)
INSERT INTO gene_cart (user_id, label, organism_id, share_id, is_public, is_domain, gctype, ldesc)
VALUES (%s, %s, %s, %s, %s, %s, %s, %s)
"""

cursor.execute(gc_insert_qry, (self.user_id, self.label, self.organism_id, self.share_id, self.is_public, self.is_domain, self.gctype))
cursor.execute(gc_insert_qry, (self.user_id, self.label, self.organism_id, self.share_id, self.is_public, self.is_domain, self.gctype, self.ldesc))
self.id = cursor.lastrowid

for gene in self.genes:
Expand Down

0 comments on commit ebe8d80

Please sign in to comment.