Skip to content

Commit

Permalink
Be more restrictive to only fold Asset that we want
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Ruthven authored and Andrew Ruthven committed Jan 1, 2025
1 parent 2fdb5de commit eeeee67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/RT/Extension/Assets/Import/CSV.pm
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ sub process_links_field {

# A common issue I encounter is spreadsheets capitalising asset to be
# Asset. Fix that.
$value =~ s/Asset/asset/g;
$value =~ s/Asset:(\d)/asset:$1/g;

# Find all the existing links so we can delete links not present in the
# CSV. Assume all should be removed, unless we find them. Only consider
Expand Down

0 comments on commit eeeee67

Please sign in to comment.