mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-25 02:00:19 -06:00
Fixed auto complete issue for EPAS database server.
This commit is contained in:
parent
283a69a21a
commit
b665f8fac8
@ -140,6 +140,11 @@ class SQLAutoComplete(object):
|
||||
status, res = self.conn.execute_dict(query)
|
||||
if status:
|
||||
for record in res['rows']:
|
||||
# 'public' is a keyword in EPAS database server. Don't add
|
||||
# this into the list of keywords.
|
||||
# This is a hack to fix the issue in autocomplete.
|
||||
if record['word'].lower() == 'public':
|
||||
continue
|
||||
self.keywords.append(record['word'])
|
||||
|
||||
self.prioritizer = PrevalenceCounter(self.keywords)
|
||||
|
Loading…
Reference in New Issue
Block a user