Skip to content

Commit

Permalink
bug fix in reorderItemDescriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
SrdjanStevanetic committed Sep 9, 2024
1 parent 7c2e9be commit 2482910
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ private List<String> reorderItemDescriptions(UserSet userSet, List<String> itemD
// escape "/" to "\/" to match json string
localId = StringUtils.replace(localId, "/", "\\/");
for (String description : itemDescriptions) {
if (description.contains(localId)) {
if (description.contains("\"" + localId + "\"")) {
orderedItemDescriptions.add(description);
found = true;
break;
Expand Down

0 comments on commit 2482910

Please sign in to comment.