Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjaustin committed Jan 4, 2025
1 parent b587f04 commit ea03d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/work.rb
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def should_reindex_pseuds?
destroyed? || (saved_changes.keys & pertinent_attributes).present?
end

# If the work gets posted, hidden, or (un)revealed, we should (potentially) reindex the tags,
# If the work gets posted, (un)hidden, or (un)revealed, we should (potentially) reindex the tags,
# so they get the correct visibility status.
def update_tag_index
return unless saved_change_to_posted? || saved_change_to_hidden_by_admin? || saved_change_to_in_unrevealed_collection?
Expand Down

0 comments on commit ea03d30

Please sign in to comment.