More efficient order querying when mask is set.
authorIain Patterson <me@iain.cx>
Thu, 7 Apr 2016 15:30:24 +0000 (11:30 -0400)
committerIain Patterson <me@iain.cx>
Thu, 7 Apr 2016 15:30:36 +0000 (11:30 -0400)
commit5f06d69fa871be3fceb974753134db509eb0d80a
treebe88f937f64cbfbf5f8b3f79959adeac63fdfb00
parent1a748a92f1782578b896c7dbfecb353587c49fe8
More efficient order querying when mask is set.

Use a join against the area and city instead of first finding all
contacts in the desired location.
lib/order.php