mothership-ec / cog

Cog
Other
2 stars 3 forks source link

Don't sort if no sort set #452

Closed kuiche closed 9 years ago

kuiche commented 9 years ago

Collections where all() is called before sort is set will break. For most cases this is fine as the constructor sets a default sort. However when the constructor is overridden (such as in the CookieTrail) this will break as all gets called in the setValidator() method.

Test by looking at a page with a cookie trail.