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

Collapse/expand of collection contents accordion creates duplicate child objects #737

Open
HaSistrunk opened this issue Sep 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@HaSistrunk
Copy link
Member

HaSistrunk commented Sep 5, 2024

Describe the bug

Expanding and collapsing collection contents accordion is displaying duplicate child objects of that collection, but only if the user navigates to the collection/object using the minimap.

To reproduce

Steps to reproduce the behavior:

  1. Search for "ping pong diplomacy"
  2. Click on National Committee on United States-China Relations records result
  3. Click on first minimap square
  4. See 2 objects under Series 9
  5. Collapse the Series 9 accordian and then expand it
  6. See that there are now 4 objects displayed that are duplicates of the original 2 objects in the series.
  7. Click on any one of the objects and see that the duplicate objects disappear

*Note that this bug does NOT occur if you do not use the minimap initially to navigate to series 9 (by instead avoiding the minimap and just clicking to expand RG 3 and then Series 9.

Expected behavior

After navigating to the collection with a specific number of objects, expanding and collapsing the containing collection should have no effect on the contained objects that are displayed.

Error message or screenshots

After clicking on the first minimap square on this collection contents page:
image

After collapsing and re-expanding Ping Pong Diplomacy, Series 9:
image

Impact on your work

This is a bug we haven't caught before, likely because it is only apparent in collections with very few objects. BUT, it would be very confusing for users when it occurs and could contribute to doubt in system function and accuracy of results.

@HaSistrunk HaSistrunk added the bug Something isn't working label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant