Browse Source

adding admin1_abbr and admin2 to the admin_fields array

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

2
query/search.js

@ -33,7 +33,7 @@ function generate( params ){
};
if (params.input_admin) {
var admin_fields = ['admin0', 'admin1', 'alpha3'];
var admin_fields = ['admin0', 'admin1', 'admin1_abbr', 'admin2', 'alpha3'];
query.query.filtered.query.bool.should = [];
admin_fields.forEach(function(admin_field) {

Loading…
Cancel
Save