Skip to content

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

Open
@Samyouell

Description

  • 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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriorityimportant request/feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions