Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nursix committed May 19, 2019
1 parent ddde9cb commit 2186bf0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
nursix-dev-2866-g7496d8a (2019-05-18 00:07:22)
nursix-dev-2867-gddde9cb (2019-05-19 17:14:43)
13 changes: 7 additions & 6 deletions modules/s3/s3report.py
Expand Up @@ -2442,12 +2442,13 @@ def _sortdim(items, rfield, index=3):
if ftype in ("integer", "string"):
# Sort option keys by their representation
requires = rfield.requires
if isinstance(requires, (tuple, list)):
requires = requires[0]
if isinstance(requires, IS_EMPTY_OR):
requires = requires.other
if isinstance(requires, IS_IN_SET):
sortby = "text"
if requires:
if isinstance(requires, (tuple, list)):
requires = requires[0]
if isinstance(requires, IS_EMPTY_OR):
requires = requires.other
if isinstance(requires, IS_IN_SET):
sortby = "text"

elif ftype[:9] == "reference":
# Sort foreign keys by their representation
Expand Down

0 comments on commit 2186bf0

Please sign in to comment.