Closed iamlasse closed 9 years ago
getInitiativeImage seems to return nothing when in a search
I believe I found the issue. It is because when searching, we aren't returning a real mongo cursor. we are returning an object. The reason this is a problem is because getInitiativeImage is a collection helper (which it should be) and if you return something that isn't a cursor, we don't get to use the collection helpers...
/client/templates/initiatives/initiatives.js
is the file that needs to be fixed.
The easiest way to get around this is just to avoid the search source package altogether. It doesn't allow returning a reactive cursor. I think we should find a different search package or just implement on our own (not difficult).
Search is currently not working, is not integrated with filter, and initiative images disappear when searching.