trailsjs / trailpack-sequelize

:package: Sequelize.js Trailpack http://sequelizejs.com
MIT License
5 stars 9 forks source link

Use $and to join criteria (for FootprintService) #21

Closed PlasmaPower closed 8 years ago

PlasmaPower commented 8 years ago

Resolves the second comment on #20

PlasmaPower commented 8 years ago

Wait a bit before merging this, it looks like the tests pass before this change. They might need fixing.

PlasmaPower commented 8 years ago

Accidentally added this test for belongsTo instead of belongsToMany. I've fixed it now, and confirmed that the tests won't pass without the related change.

cesar2064 commented 8 years ago

I tested it and it fixes the issues of the second comment.