Browse Source

4 admin fields

pull/169/head
Harish Krishna 10 years ago
parent
commit
ffcef3417a
  1. 2
      query/search.js

2
query/search.js

@ -85,7 +85,7 @@ function generate( params ){
} }
var input_regions = params.parsed_input.regions.join(' '); var input_regions = params.parsed_input.regions.join(' ');
if (admin_fields.length === 5 && input_regions !== params.input) { if (admin_fields.length === 4 && input_regions !== params.input) {
if (params.parsed_input.admin_parts) { if (params.parsed_input.admin_parts) {
qb(admin_fields, params.parsed_input.admin_parts); qb(admin_fields, params.parsed_input.admin_parts);
} else { } else {

Loading…
Cancel
Save