neodash icon indicating copy to clipboard operation
neodash copied to clipboard

Parameter Select report doesn't handle boolean properties correctly

Open Samyouell opened this issue 1 year ago • 0 comments

  • 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 avatar Sep 19 '24 20:09 Samyouell