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

Firebase-query Equal To Issue #59

Closed
merc37 opened this issue Jun 24, 2016 · 1 comment
Closed

Firebase-query Equal To Issue #59

merc37 opened this issue Jun 24, 2016 · 1 comment

Comments

@merc37
Copy link

merc37 commented Jun 24, 2016

Description

Setting the equal-to attribute to a boolean type does not work as expected when its value is false. The attribute works as expected when boolean and true, or other types.

Expected outcome

When a document in the Firebase database has a child in it set to true, and the firebase-query attribute equal-to is set to false, the query should not return that document.

Actual outcome

It returns all documents, ignoring the equalTo. If the values were instead Strings or equal-to is set to true, it works as expected.

Live Demo

Link to demo

Steps to reproduce

  1. The demo starts with equal-to being boolean false. The expected false results should be a single line of "Boolean value of false", instead all documents are listed.
  2. After clicking test true, equal-to is set to boolean true, a single line of "Boolean value of true" is shown as expected.

Link to database

mbleigh added a commit that referenced this issue Aug 15, 2016
@mbleigh
Copy link
Contributor

mbleigh commented Aug 15, 2016

#98 should fix this.

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

2 participants