Skip to content

Commit

Permalink
Merge pull request #557 from ScilifelabDataCentre/DDS-1393-show-creat…
Browse files Browse the repository at this point in the history
…or-of-project

Display creator when listing projects
  • Loading branch information
i-oden authored Oct 19, 2022
2 parents 58e6f29 + 7d355eb commit d88be58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,4 @@ Please add a _short_ line describing the PR you make, if the PR implements a spe
## Sprint (2022-10-14 - 2022-10-28)

- Limit projects listing to active projects only; a `--show-all` flag can be used for listing all projects, active and inactive ([#556](https://github.com/ScilifelabDataCentre/dds_cli/pull/556))
- Display name of creator when listing projects ([#557](https://github.com/ScilifelabDataCentre/dds_cli/pull/557))
2 changes: 1 addition & 1 deletion dds_cli/data_lister.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def __format_project_columns(self, total_size=None, usage_info=None):
"footer": "Total" if self.show_usage else default_format.get("footer"),
"overflow": default_format.get("overflow"),
},
**{x: default_format for x in ["Title", "PI", "Status", "Last updated"]},
**{x: default_format for x in ["Title", "PI", "Created by", "Status", "Last updated"]},
}

if total_size is not None:
Expand Down

0 comments on commit d88be58

Please sign in to comment.