Added quotations to hashtags searches
Since #Hashtags can contain space, using quotation marks is neccessary when issuing searches from clicking the #Hashtags in the UI. Change-Id: I2e07ca354a11092dceaa23691d6d72300d7abbef
This commit is contained in:
parent
2d39c1e065
commit
f9ce1232e5
@ -162,7 +162,8 @@ public class Hashtags extends Composite {
|
|||||||
.setAttribute(DATA_ID, hashtagName)
|
.setAttribute(DATA_ID, hashtagName)
|
||||||
.setStyleName(style.hashtagName())
|
.setStyleName(style.hashtagName())
|
||||||
.openAnchor()
|
.openAnchor()
|
||||||
.setAttribute("href", "#" + PageLinks.toChangeQuery("hashtag:" + hashtagName))
|
.setAttribute("href",
|
||||||
|
"#" + PageLinks.toChangeQuery("hashtag:\"" + hashtagName + "\""))
|
||||||
.setAttribute("role", "listitem")
|
.setAttribute("role", "listitem")
|
||||||
.append("#").append(hashtagName)
|
.append("#").append(hashtagName)
|
||||||
.closeAnchor()
|
.closeAnchor()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user