guardian/frontend — pull request #1377 by janua (2013-08-12 16:04:34+00:00)
Title: Configured description refactor

This is a small refactor to help with the timeout issues I have been seeing with the new RunningOrderTrailblockDescription.

There is now one less query to the content api for the contentApiQuery entry in the json for a collection.

The refresh on the TrailblockAgent will now only refresh items on a non empty list. This is needed as the fall back for the queries in RunningOrderTrailblockDescription can return Nil if they fail. So instead of replacing the internal structure of the agent to Nil, it will just hold onto what it has until new items come along.