[metadata] Do not show the deleted databasess/tables in the search
Non interactive search already has the deleted:false filter.
@@ -267,6 +267,8 @@ class NavigatorApi(object):
fq_type = entity_types
filterQueries.append(term)
+ filterQueries.append('deleted:false')
+
body = {'query': ' '.join(query) or '*'}
if fq_type:
filterQueries += ['{!tag=type} %s' % ' OR '.join(['type:%s' % fq for fq in fq_type])]
