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

Parameter Select report doesn't handle boolean properties correctly #953

Open
Samyouell opened this issue Sep 19, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Samyouell
Copy link

  • NeoDash version: 2.4.8
  • Neo4j Database version: Enterprise version 5.21

Context:
I want to be able to drive my main report by selecting a value in a parameter report. The parameter report points to a boolean property with values of true / false.

Steps to reproduce

  1. In your database, please have a node property with data type boolean.
  2. Create a Parameter Select report.
  3. Selection Type = node property.
  4. Node label = pick the node that has boolean property.
  5. Property Name = pick the property that is boolean.
  6. Run report.

Expected behavior
I expect to be able to choose either "true" or "false".
I expect that the parameter correctly passes the true or false value into my main report and is able to apply it in the cypher where clause
example:
match (c:Company) where c.isClient = $neodash_company_isclient return c

Actual behavior
Choices presented in the dropdown are "true" and "(no data)"

Additionally, include (as appropriate) screenshots, drawings, etc.

Example of broken behavior:

boolean-broken

Example of expected behavior:

boolean-expected

@Samyouell Samyouell added the bug Something isn't working label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant