Skip to content

Commit

Permalink
Fix get_job_column
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Nov 22, 2018
1 parent 7c98164 commit 899e538
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion daiquiri/query/utils.py
Expand Up @@ -288,7 +288,7 @@ def get_job_column(job, display_column_name):
)

return {
'name': column.description,
'name': column.name,
'description': column.description,
'unit': column.unit,
'ucd': column.ucd,
Expand Down
9 changes: 6 additions & 3 deletions testing/fixtures/files.json
Expand Up @@ -6,7 +6,8 @@
"path": "html",
"access_level": "INTERNAL",
"groups": [],
"depth": 1
"depth": 1,
"layout": true
}
},
{
Expand All @@ -18,7 +19,8 @@
"groups": [
1
],
"depth": 3
"depth": 3,
"layout": true
}
},
{
Expand All @@ -30,7 +32,8 @@
"groups": [
1
],
"depth": 1
"depth": 1,
"layout": false
}
}
]

0 comments on commit 899e538

Please sign in to comment.