codeforIATI / iatikit

🐨 A toolkit for using IATI data
https://iatikit.readthedocs.io
MIT License
6 stars 0 forks source link

Using multiple modifiers does *the wrong thing* #47

Closed andylolz closed 5 years ago

andylolz commented 5 years ago
import iatikit

dfid = iatikit.data().publishers.find(name='dfid')
dfid_ep = dfid.activities.where(title__contains='Evidence paper')
dfid_ep.count()  # 1
dfid_ep_ep = dfid_ep.where(title__contains='Evidence paper')
dfid_ep_ep.count()  # 0, but this should still be 1
andylolz commented 5 years ago

Fixed in a09c166c447321ed83f5ce025a0c278abf2ca74c.