diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/base/trait.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py index e1eca9d9..e6e1c6b3 100644 --- a/wqflask/base/trait.py +++ b/wqflask/base/trait.py @@ -333,7 +333,7 @@ def jsonable(trait, dataset=None): display_name=trait.display_name, hmac=hmac.data_hmac('{}:{}'.format(trait.name, dataset.name)), view=str(trait.view), - symbol=trait_symbol, + symbol=trait.abbreviation, dataset=dataset.name, dataset_name=dataset.shortname, description=trait.description_display, @@ -354,7 +354,7 @@ def jsonable(trait, dataset=None): display_name=trait.display_name, hmac=hmac.data_hmac('{}:{}'.format(trait.name, dataset.name)), view=str(trait.view), - symbol=trait_symbol, + symbol=trait.abbreviation, dataset=dataset.name, dataset_name=dataset.shortname, description=trait.description_display, |