Skip to content

Commit

Permalink
StatementOfAssetsViewer: Show number of securities in each category
Browse files Browse the repository at this point in the history
Show it after category title in parens, e.g. "Category (nn)".
  • Loading branch information
pfalcon authored and buchen committed Jan 17, 2025
1 parent ff6d242 commit 82f690a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,11 @@ public Long getValue(Object e)
@Override
public String getText(Object e)
{
Element el = (Element) e;
if (((Element) e).isGroupByTaxonomy())
return Messages.ColumnSum;
if (el.isCategory())
return super.getText(el) + " (" + el.getChildren().count() + ")";
return super.getText(e);
}

Expand Down

0 comments on commit 82f690a

Please sign in to comment.