Skip to content

Commit

Permalink
Merge pull request galaxyproject#8938 from martenson/fix-infomessage
Browse files Browse the repository at this point in the history
[19.09] Broaden library description/info/message
  • Loading branch information
mvdbeek committed Nov 7, 2019
2 parents 9aec180 + 68eb3b0 commit 21cdf9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/galaxy/webapps/galaxy/api/folder_contents.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ def index(self, trans, folder_id, **kwd):
tags=ldda_tags))
if content_item.library_dataset_dataset_association.message:
return_item.update(dict(message=content_item.library_dataset_dataset_association.message))
elif content_item.library_dataset_dataset_association.info:
# There is no message but ldda info contains something so we display that instead.
return_item.update(dict(message=content_item.library_dataset_dataset_association.info))

# For every item include the default metadata
return_item.update(dict(id=encoded_id,
Expand Down

0 comments on commit 21cdf9b

Please sign in to comment.