From 73fc8d34d98a80cfb32d3c7c5dc4794fad5470d5 Mon Sep 17 00:00:00 2001 From: Claire Date: Sat, 11 Apr 2026 13:01:55 +0200 Subject: [PATCH] Change collection update to also send notifications if the sensitive label or the topic are changed (#38644) --- app/services/notify_of_collection_update_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/notify_of_collection_update_service.rb b/app/services/notify_of_collection_update_service.rb index 9e0449996e..a8f540e4d3 100644 --- a/app/services/notify_of_collection_update_service.rb +++ b/app/services/notify_of_collection_update_service.rb @@ -16,6 +16,6 @@ class NotifyOfCollectionUpdateService return false if collection.previously_new_record? # Only notify of change to description or name - %i(description description_html name).any? { |attr| collection.attribute_previously_changed?(attr) } + %i(description description_html name sensitive tag_id).any? { |attr| collection.attribute_previously_changed?(attr) } end end