From 43eb99c11d8ef371bba926a3a63bf599b56820ae Mon Sep 17 00:00:00 2001 From: Zachary Sloan Date: Fri, 31 May 2013 16:01:31 +0000 Subject: Fixed the location column for the quick search page Began writing some jquery to automatically open the first tab within each species tab on the quick search page (not done yet) --- wqflask/base/trait.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask/base') diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py index 7c1c035c..dde8b8d8 100755 --- a/wqflask/base/trait.py +++ b/wqflask/base/trait.py @@ -302,7 +302,7 @@ class GeneralTrait: #XZ: assign SQL query result to trait attributes. for i, field in enumerate(self.dataset.display_fields): - setattr(self, field, traitInfo[i]) + setattr(self, field, str(traitInfo[i])) if self.dataset.type == 'Publish': self.confidential = 0 -- cgit v1.2.3