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

Lava Filter - Children - unexpected behavior #5345

Closed
1 task done
stanalyst opened this issue Mar 13, 2023 · 0 comments
Closed
1 task done

Lava Filter - Children - unexpected behavior #5345

stanalyst opened this issue Mar 13, 2023 · 0 comments
Labels
Fixed in v15.1 Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be.

Comments

@stanalyst
Copy link

stanalyst commented Mar 13, 2023

Please go through all the tasks below

  • #5364

Please provide a brief description of the problem. Please do not forget to attach the relevant screenshots from your side.

The Lava Filter "Children" is returning a list of children even when the target person isn't a parent of those children. In my example - the target person was a sibling of those profiles returned.

Expected Behavior

Based on the description of the filter ("Returns a list of children for the person") - I would have expected to only get a list of children back if the target person is a parent of those profiles.

Actual Behavior

When using the Children filter on a person that is a minor (in a family with multiple children) - getting back a list of all that person's siblings.

Steps to Reproduce

  • Find a person profile for a minor in a family that has multiple children - make a note of the person id (in the demo site - Noah Decker works - Id 6)
  • Go to an HTML block (or lava tester)
  • Assign the person Id to a variable called personId
  • enter this lava {{ personId | Children }}
  • observe the output (should see all siblings of the person)

Rock Version

14.1

Client Culture Setting

en-US

@jonedmiston jonedmiston added the Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. label Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in v15.1 Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be.
Projects
None yet
Development

No branches or pull requests

4 participants
@jonedmiston @MrUpsideDown @stanalyst and others