Eugene Nikanorov 9751562cd0 Avoid extra queries when retrieving routers
fixes bug 1160333

Instead of making N additional sql requests,
use relationship and joined query.

Change-Id: I8f650691916a252bf2a525343bfa0521ff6fbe43
2013-05-08 15:25:22 +04:00
..