Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug fix in reorderItemDescriptions #260

Merged
merged 4 commits into from
Sep 11, 2024

Conversation

SrdjanStevanetic
Copy link
Contributor

No description provided.

@@ -478,7 +478,9 @@ 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)) {
String idWithoutSpace="\"id\":" + "\"" + localId + "\"";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove the redundant concatenation "id":" should be only one string and the last quote should be concatenated as char '"'. Also the serilization on the search API side is consistent, it is allways with space

@gsergiu gsergiu merged commit df4b300 into develop Sep 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants