|
|
@ -63,14 +63,14 @@ function setup( backend, query ){ |
|
|
|
cmd.body = query_admin( req.clean, 3 ); |
|
|
|
cmd.body = query_admin( req.clean, 3 ); |
|
|
|
query_backend(cmd, callback); |
|
|
|
query_backend(cmd, callback); |
|
|
|
}, |
|
|
|
}, |
|
|
|
b: function(callback) { |
|
|
|
d: function(callback){ |
|
|
|
cmd.body = query_poi( req.clean ); |
|
|
|
cmd.body = query_admin( req.clean, 1 ); |
|
|
|
query_backend(cmd, callback); |
|
|
|
query_backend(cmd, callback); |
|
|
|
}, |
|
|
|
}, |
|
|
|
c: function(callback) { |
|
|
|
c: function(callback) { |
|
|
|
cmd.body = query_admin( req.clean ); |
|
|
|
cmd.body = query_poi( req.clean, 3 ); |
|
|
|
query_backend(cmd, callback); |
|
|
|
query_backend(cmd, callback); |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
async_query = { |
|
|
|
async_query = { |
|
|
@ -83,11 +83,11 @@ function setup( backend, query ){ |
|
|
|
query_backend(cmd, callback); |
|
|
|
query_backend(cmd, callback); |
|
|
|
}, |
|
|
|
}, |
|
|
|
c: function(callback){ |
|
|
|
c: function(callback){ |
|
|
|
cmd.body = query_admin( req.clean ); |
|
|
|
cmd.body = query_poi( req.clean, 1 ); |
|
|
|
query_backend(cmd, callback); |
|
|
|
query_backend(cmd, callback); |
|
|
|
}, |
|
|
|
}, |
|
|
|
d: function(callback){ |
|
|
|
d: function(callback){ |
|
|
|
cmd.body = query_poi( req.clean, 1 ); |
|
|
|
cmd.body = query_admin( req.clean ); |
|
|
|
query_backend(cmd, callback); |
|
|
|
query_backend(cmd, callback); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|