Describe the bug
The section "Relations to other Patterns" is shown as empty when the pattern document is opened from the "graph" view using the π symbol.
To Reproduce
Steps to reproduce the behavior:
- Go to the patterns graph of a pattern language, e.g., quantum computing patterns.
- Click on a pattern, e.g., Initialization, and note the relations shown in the right sidebar. Click on the π symbol of the pattern to view the pattern document.
- Scroll down to the section "Relations to other Patterns".
- See empty section "Relations to other Patterns".
- Open the same pattern from the "cards" view and observe that the relations are shown correctly.
Expected behavior
The relations should be shown correctly regardless of how the pattern document was opened.
Desktop (please complete the following information):
- OS: Win 10
- Browser: Firefox
- Version: 123.0.1
Additional context
In the URL, one can observe that the pattern is referenced differently when opened from the "cards" and from the "graph" view. The former refers to the pattern's ID in the database, while the latter appears to refer to the pattern by its URI.