diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2019-06-10 09:10:12 -0400 |
---|---|---|
committer | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2019-06-10 17:10:20 -0400 |
commit | 48e42996ef463ca03664fbeafa047b1338998686 (patch) | |
tree | a07ed0b38ed2e087e059d7e79494d1f6bbf82be5 /src/workflow | |
parent | 511d120def045eab9d3bc703db3413c71de6da1c (diff) |
Fix searchable select field scaling
Change-Id: Id6fb052b2158ee0db30fd11b520194d3825b677f
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/workflow')
-rw-r--r-- | src/workflow/forms.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/workflow/forms.py b/src/workflow/forms.py index bd2d14a..0fb45d6 100644 --- a/src/workflow/forms.py +++ b/src/workflow/forms.py @@ -173,8 +173,8 @@ class SWConfigSelectorForm(SearchableSelectAbstractForm): for bundle in queryset: items[bundle.id] = { - 'small_name': bundle.name, - 'expanded_name': bundle.owner.username, + 'expanded_name': bundle.name, + 'small_name': bundle.owner.username, 'string': bundle.description, 'id': bundle.id } @@ -188,8 +188,8 @@ class OPNFVSelectForm(SearchableSelectAbstractForm): for config in queryset: items[config.id] = { - 'small_name': config.name, - 'expanded_name': config.bundle.owner.username, + 'expanded_name': config.name, + 'small_name': config.bundle.owner.username, 'string': config.description, 'id': config.id } @@ -203,8 +203,8 @@ class ResourceSelectorForm(SearchableSelectAbstractForm): for bundle in queryset: items[bundle.id] = { - 'small_name': bundle.name, - 'expanded_name': bundle.owner.username, + 'expanded_name': bundle.name, + 'small_name': bundle.owner.username, 'string': bundle.description, 'id': bundle.id } |