From f0390eee35d5f5afd2ce56485eeea33b79030407 Mon Sep 17 00:00:00 2001 From: Randall Floyd Date: Thu, 7 Nov 2024 13:20:14 -0500 Subject: [PATCH 1/3] Adding required data cells to collection membership rows in batch create --- app/views/hyrax/base/_form_member_of_collections.html.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/hyrax/base/_form_member_of_collections.html.erb b/app/views/hyrax/base/_form_member_of_collections.html.erb index 08a8ad32ac..ea92bf4e56 100644 --- a/app/views/hyrax/base/_form_member_of_collections.html.erb +++ b/app/views/hyrax/base/_form_member_of_collections.html.erb @@ -33,6 +33,10 @@ HTML Properties: + + This table will only display data if works are assigned to collections + + From 2d367f0a5341406c627ff0cba4b7c230ca7fcf4d Mon Sep 17 00:00:00 2001 From: Rob Kaufman Date: Thu, 7 Nov 2024 20:57:58 -0800 Subject: [PATCH 2/3] quick fix to restore type facet for valk resources --- app/indexers/hyrax/indexers/resource_indexer.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/indexers/hyrax/indexers/resource_indexer.rb b/app/indexers/hyrax/indexers/resource_indexer.rb index 71273bc166..41e3627907 100644 --- a/app/indexers/hyrax/indexers/resource_indexer.rb +++ b/app/indexers/hyrax/indexers/resource_indexer.rb @@ -47,6 +47,7 @@ def to_solr "system_modified_dtsi": resource.updated_at, "has_model_ssim": resource.to_rdf_representation, "human_readable_type_tesim": resource.human_readable_type, + "human_readable_type_sim": resource.human_readable_type, "alternate_ids_sim": resource.alternate_ids.map(&:to_s) }.with_indifferent_access end From 153239f7c3a1bc1f31cbd15815dbbf20c4692e5c Mon Sep 17 00:00:00 2001 From: Julie Hardesty Date: Fri, 8 Nov 2024 12:03:27 -0500 Subject: [PATCH 3/3] Add labels to checkbox lists --- .../hyrax/leases/_list_expired_active_leases.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/hyrax/leases/_list_expired_active_leases.html.erb b/app/views/hyrax/leases/_list_expired_active_leases.html.erb index cf0b711eb1..87bc6e8576 100644 --- a/app/views/hyrax/leases/_list_expired_active_leases.html.erb +++ b/app/views/hyrax/leases/_list_expired_active_leases.html.erb @@ -32,7 +32,7 @@ <%= render 'hyrax/batch_select/add_button', document: curation_concern %> <%= curation_concern.human_readable_type %> - <%= link_to curation_concern, edit_lease_path(curation_concern) %> + <%= visibility_badge(curation_concern.visibility) %> <%= curation_concern.lease_expiration_date %> <%= visibility_badge(curation_concern.visibility_after_lease) %> @@ -41,9 +41,9 @@ - <%= check_box_tag "leases[#{i}][copy_visibility]", curation_concern.id, true %> - <%= t('.change_all', cc: curation_concern) %> - <%= visibility_badge(curation_concern.visibility_after_lease) %>? + <%= check_box_tag "leases[#{i}][copy_visibility]", curation_concern.id, true, 'aria-labelledby': "leases_#{i}_copy_visibility" %> + <% end %>