From ebe8d80ae6c56cc609c337c9c9348df169f46e53 Mon Sep 17 00:00:00 2001 From: adkinsrs Date: Tue, 27 Aug 2024 15:43:42 -0400 Subject: [PATCH] Resolving #879 --- lib/geardb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/geardb.py b/lib/geardb.py index c638d2db..ca452698 100644 --- a/lib/geardb.py +++ b/lib/geardb.py @@ -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: