Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brite.InMemoryDaoHandler.js.passMatch() #19

Open
LoginLogic opened this issue Apr 27, 2014 · 0 comments
Open

brite.InMemoryDaoHandler.js.passMatch() #19

LoginLogic opened this issue Apr 27, 2014 · 0 comments

Comments

@LoginLogic
Copy link

Re: https://github.com/BriteSnow/brite/blob/master/extra/brite.InMemoryDaoHandler.js

Case:
C1. Passing options to list()
C1.1. main.employeeDao.list({match:{firstName:{op:"===",val:value}}})

Problem:
P1. Did not work as advertised, returning true always

Fix:
F1. passMatch() #277
F1.1. OLD: (obj[k] !== match[k])
F1.2. NEW: (obj[k] !== match[k].val)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant