Allow Hashtags searches prefixed with "#".
Change-Id: I9567e5292c84c68ef9b32159da9cc922e553aaa8
This commit is contained in:
@@ -14,13 +14,14 @@
|
||||
|
||||
package com.google.gerrit.server.query.change;
|
||||
|
||||
import com.google.gerrit.server.change.HashtagsUtil;
|
||||
import com.google.gerrit.server.index.ChangeField;
|
||||
import com.google.gerrit.server.index.IndexPredicate;
|
||||
import com.google.gwtorm.server.OrmException;
|
||||
|
||||
class HashtagPredicate extends IndexPredicate<ChangeData> {
|
||||
HashtagPredicate(String hashtag) {
|
||||
super(ChangeField.HASHTAG, hashtag.toLowerCase());
|
||||
super(ChangeField.HASHTAG, HashtagsUtil.cleanupHashtag(hashtag));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user