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 Feb 5, 2023
1 parent ce8f1dd commit ee07a52
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 @@ -346,7 +346,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 ee07a52

Please sign in to comment.