aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/Dawn/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/Dawn/views.py b/python/Dawn/views.py
index ae4a0d58..76482ff1 100644
--- a/python/Dawn/views.py
+++ b/python/Dawn/views.py
@@ -34,7 +34,7 @@ def cp_choices(kind='bond'):
with_entities(Counterparties.code, Counterparties.name))
elif kind == 'future':
return []
- elif kind == 'cds':
+ elif kind == 'cds' or kind == 'swaption':
return (Counterparties.query.
order_by('name').
filter(Counterparties.name.ilike('%CDS%')).