dimagi/commcare-hq — pull request #4293 by emord (2014-09-09 20:57:58+00:00)
Title: Refactor domain query

@nickpell

Will probably be some merge conflicts with your work. Feel free to merge yours first.