Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
dylan kane
2,772 PointsPlease help with search functionality in my meteor app! Only need small answer, more info inside.
So I am making an app on meteor, and I have created a database with mongodb on it that contains games with attributes like name and genre. I now need to hook this up to a search bar so you can search a game name and it will get pulled from the database to click on. I found a pre-made meteor package that does this called search-source; link here:
https://meteorhacks.com/implementing-an-instant-search-solution-with-meteor
the directions and code on the site seem pretty straight forward, but I cant seem to hook it up to my own database! I established my database on the client js file like this:
GamesList = new Meteor.Collection('games');
That has been working great, but no matter where I plug it in to the code provided from meteorhacks.com it doesnt seem to come up with any results. Some pointers would be great, and if anyone needs to see more of my code to understand whats going on I will gladly post it for you. Thanks!