Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: Other language dropdown is empty #1805

Closed
anvit opened this issue Apr 30, 2024 · 0 comments · Fixed by #1806
Closed

Problem: Other language dropdown is empty #1805

anvit opened this issue Apr 30, 2024 · 0 comments · Fixed by #1806
Assignees
Labels
Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result.
Milestone

Comments

@anvit
Copy link
Contributor

anvit commented Apr 30, 2024

Current Behavior

Steps to reproduce the behavior

  1. Go to an archival description that has translations available in a second language.
  2. Click the Other languages available dropdown button.

Notice that the dropdown results are empty.

Expected Behavior

Clickable results for other available languages should pop up.

Possible Solution

This bug seems to have been introduced in to #1751

Version used

AtoM 2.8.1

@anvit anvit added the Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result. label Apr 30, 2024
@anvit anvit self-assigned this Apr 30, 2024
@anvit anvit added this to the 2.9.0 milestone Apr 30, 2024
anvit added a commit that referenced this issue Apr 30, 2024
The $translations variable in translationLinksComponent needs to be a
property of $this in order to accessible by the template. Also adding in
a currentCulture flag to the getOtherCulturesAvailable method so that
the current culture can be excluded from the results.
@anvit anvit linked a pull request Apr 30, 2024 that will close this issue
mcantelon pushed a commit that referenced this issue May 2, 2024
Added functionality, to the digital object load task, to import URLs in
addition to files.

Did minor cleanup and improved CLI help to include a list of valid CSV
columns.
mcantelon pushed a commit that referenced this issue May 2, 2024
Added functionality, to the digital object load task, to import URLs in
addition to files.

Did minor cleanup and improved CLI help to include a list of valid CSV
columns.
anvit added a commit that referenced this issue May 3, 2024
The $translations variable in translationLinksComponent needs to be a
property of $this in order to accessible by the template. Also adding in
a currentCulture flag to the getOtherCulturesAvailable method so that
the current culture can be excluded from the results.
@anvit anvit modified the milestones: 2.9.0, 2.8.2 May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant