add testing for rank adaption while linking

This commit is contained in:
Sarah Hoffmann
2020-02-21 16:35:59 +01:00
parent 06fdfad89e
commit acd8ca2ebd
5 changed files with 36 additions and 13 deletions

View File

@@ -297,7 +297,8 @@ def query_cmd(context, query, dups):
"""
cmd = ['/usr/bin/env', 'php']
cmd.append(os.path.join(context.nominatim.build_dir, 'utils', 'query.php'))
cmd.extend(['--search', query])
if query:
cmd.extend(['--search', query])
# add more parameters in table form
if context.table:
for h in context.table.headings: