Skip to content

Commit

Permalink
removing ? marks from products
Browse files Browse the repository at this point in the history
  • Loading branch information
matallen committed Dec 5, 2018
1 parent 266911c commit 16ace8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/redhat/sso/Controller2.java
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ private List<Offering> aggregateIntoOfferings(List<Document> alldocuments, Strin
d.name=truncateBefore(d.name, 30);
for(Document d:o.related)
d.name=truncateBefore(d.name, 30);
// for(String d:o.relatedProducts)
for(String d:o.relatedProducts)
d=d.replaceAll("\\?", " ");
// d.name=truncateBefore(d.name, 30);


Expand Down

0 comments on commit 16ace8d

Please sign in to comment.