Skip to content

Instantly share code, notes, and snippets.

@anderbubble
Created August 31, 2010 08:52
Show Gist options
  • Save anderbubble/558750 to your computer and use it in GitHub Desktop.
Save anderbubble/558750 to your computer and use it in GitHub Desktop.
diff --git a/source/packages/cbank/model/queries.py b/source/packages/cbank/mode
index c15a18c..f79778f 100644
--- a/source/packages/cbank/model/queries.py
+++ b/source/packages/cbank/model/queries.py
@@ -209,6 +209,7 @@ def project_summary (projects, users=None, resources=None,
resources_ = Allocation.resource_id.in_(
resource.id for resource in resources)
allocations_q = allocations_q.filter(resources_)
+ holds_q = holds_q.filter(resources_)
charges_q = charges_q.filter(resources_)
refunds_q = refunds_q.filter(resources_)
jobs_q = jobs_q.filter(resources_)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment