You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In draft status pending investigation of why this isn't happening on my localhost, and if its fixable via solr indexing
Admin Set appears only once in the Collection Type filtering dropdown on the Collections pages on the Dashboard. Previously it appeared twice, as “Admin Set” and as “Hyrax::AdministrativeSet”
UPDATE: got it to happen on localhost; see follow-up comments
@rdlebeau This appears to be a hyrax bug -- @dlpierce should we create an issue for it, in the hyrax repo? Is it still present in the current version?
My::CollectionsController configures facets with a skip method: https://github.com/samvera/hyrax/blob/v5.0.1/app/controllers/hyrax/my/collections_controller.rb#L9-L23
that currently excludes Hyrax::ModelRegistry.collection_rdf_representations values from menu selection: ["Collection", "Hyrax::PcdmCollection"]
but it's missing a corresponding exclusion of Hyrax::ModelRegistry.admin_set_rdf_representations: ["AdminSet", "Hyrax::AdministrativeSet"]
which is why "Hyrax::AdministrativeSet" is showing up alongside "Admin Set" in the Collection Type select menu at /dashboard/collections?locale=en
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In draft status pending investigation of why this isn't happening on my localhost, and if its fixable via solr indexing
UPDATE: got it to happen on localhost; see follow-up comments