pyrocms/pyrocms — pull request #1139 by el2ro (2012-02-14 21:15:37+00:00)
Title: Some fixes to issue #1023

This is small but very effective fix. In one case DB queries went down from 149 queries to 63. (@huglester). Should be taken in to 2.0 branch too.