fix search for postcode via structured query

Results from the artifical postcode table were dropped
when reevaluating rank of results.
This commit is contained in:
Sarah Hoffmann
2017-10-03 12:10:27 +02:00
parent eacaf3489e
commit e3323e8888
2 changed files with 21 additions and 7 deletions

View File

@@ -25,3 +25,11 @@ Feature: Searches with postcodes
Then result addresses contain
| country_code |
| li |
Scenario: Postcode search with structured query
When sending json search query "" with address
| postalcode | country |
| 9490 | li |
Then result addresses contain
| country_code | postcode |
| li | 9490 |