only propose value if the existing prefix is a real prefix
This commit is contained in:
@@ -227,7 +227,7 @@ public class QueryCompletionPdbLangParser extends PdbLangParser {
|
||||
final SortedSet<String> result = new TreeSet<>();
|
||||
|
||||
for (final String value : availableValuesForKey) {
|
||||
if (value.startsWith(propertyValuePrefix)) {
|
||||
if (value.startsWith(propertyValuePrefix) && !value.equals(propertyValuePrefix)) {
|
||||
result.add(value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user