[GH-ISSUE #149] Incorrect grouping of Portfolios by Portfolio type #72

Closed
opened 2026-03-03 11:58:42 +03:00 by kerem · 4 comments
Owner

Originally created by @olegprivate on GitHub (Jan 12, 2026).
Original GitHub issue: https://github.com/finmars-platform/finmars-core/issues/149

Originally assigned to: @HenkKalkwater, @falendary on GitHub.

Looks like the IDs are shifted:

Image Image
Originally created by @olegprivate on GitHub (Jan 12, 2026). Original GitHub issue: https://github.com/finmars-platform/finmars-core/issues/149 Originally assigned to: @HenkKalkwater, @falendary on GitHub. Looks like the IDs are shifted: <img width="808" height="291" alt="Image" src="https://github.com/user-attachments/assets/f4ca45fa-0f44-48ac-acb7-5d98e961117a" /> <img width="808" height="291" alt="Image" src="https://github.com/user-attachments/assets/da96b1ca-218f-4df3-ad6a-3e5d598c13e6" />
kerem 2026-03-03 11:58:42 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@sergeiosipov commented on GitHub (Feb 2, 2026):

@olegprivate which version of the Finmars you are using, I can't reproduce it.
See screenshots below:

Image Image
<!-- gh-comment-id:3835967874 --> @sergeiosipov commented on GitHub (Feb 2, 2026): @olegprivate which version of the Finmars you are using, I can't reproduce it. See screenshots below: <img width="744" height="400" alt="Image" src="https://github.com/user-attachments/assets/1997d6cb-6237-49e6-b123-28a22a6c1a6a" /> <img width="756" height="415" alt="Image" src="https://github.com/user-attachments/assets/45d7e593-26ef-4d06-9230-d719e13a1ae2" />
Author
Owner

@olegprivate commented on GitHub (Feb 2, 2026):

@sergeiosipov I am sorry - I forgot to specify an important detail. It occured on the Space that was restored from backup. I assume that was the actual resaon

<!-- gh-comment-id:3836009479 --> @olegprivate commented on GitHub (Feb 2, 2026): @sergeiosipov I am sorry - I forgot to specify an important detail. It occured on the Space that was restored from backup. I assume that was the actual resaon
Author
Owner

@HenkKalkwater commented on GitHub (Feb 13, 2026):

Somehow, it completely forgets the names whenever you regroup by portfolio type:

https://github.com/user-attachments/assets/c2e027c3-1960-420b-9a16-2b535a5ff09a

<!-- gh-comment-id:3896996252 --> @HenkKalkwater commented on GitHub (Feb 13, 2026): Somehow, it completely forgets the names whenever you regroup by portfolio type: https://github.com/user-attachments/assets/c2e027c3-1960-420b-9a16-2b535a5ff09a
Author
Owner

@HenkKalkwater commented on GitHub (Feb 13, 2026):

The bug I described above may be a different bug: for portfolio groupings, the backend is not returning a proper group_name and group_identifier in the api/v1/portfolios/portfolio/ev-group/ when grouping by portfolio_type. This should be fixed in https://github.com/finmars-platform/finmars-core/pull/176

However, adding columns by using right click or by using the hamburger menu on the left still gives the result that is described here.

<!-- gh-comment-id:3897975031 --> @HenkKalkwater commented on GitHub (Feb 13, 2026): The bug I described above may be a different bug: for portfolio groupings, the backend is not returning a proper `group_name` and `group_identifier` in the `api/v1/portfolios/portfolio/ev-group/` when grouping by `portfolio_type`. This should be fixed in https://github.com/finmars-platform/finmars-core/pull/176 However, adding columns by using right click or by using the hamburger menu on the left still gives the result that is described here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/finmars-core#72
No description provided.