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

Dynamic Report block changes Is Equal to Contains in Data View #4242

Open
cabal95 opened this issue Jun 2, 2020 · 0 comments
Open

Dynamic Report block changes Is Equal to Contains in Data View #4242

cabal95 opened this issue Jun 2, 2020 · 0 comments
Labels
Priority: Low Affects a small number of Rock installations and will not be noticed by most users. Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Topic: Reporting Related to Reports and Data Views Type: Bug Confirmed bugs or reports that are very likely to be bugs.

Comments

@cabal95
Copy link
Member

cabal95 commented Jun 2, 2020

Description

When using the Dynamic Report block, it modifies the original Data View filter criteria from Is Equal to become Contains. I chose Is Equal because I specifically wanted it to be Equal. If I wanted it give users the ability to do a sub string search I would specifically choose Contains.

Steps to Reproduce

  1. Go to demo site.
  2. Create a new Person Data View with a filter of Last Name Is Equal To Decker
  3. Create a new Person Report and put the Person Name field on.
  4. Add a Dynamic Report block to a page and configure it to use the report you just created.
  5. BEFORE YOU SAVE, notice that the filter is seen as a "Equal To" type of filter.
  6. Click Save.
  7. Edit block settings again.
  8. Notice the filter is now shown as a "Contains" type of filter.
  9. Go back to your Data View and notice it has actually changed the type of the search in the Data View.
  10. Change it back to "Equal To" and save Data View.
  11. Go back to the dynamic report and reload the page.
  12. Go look at the Data View and notice it again changed it back to "Contains".
  13. Claw your face in frustration.
  14. Buy some make up to cover all those scratches.

Expected behavior:

The Dynamic Report block should only be changing the specific content of what is being searched for, not the type of search that is being performed.

Actual behavior:

Your carefully crafted Data View is suddenly not doing what you told users it would do.

Versions

  • Rock Version: 10.2, 10.3-alpha
  • Client Culture Setting: en-US

┆Attachments: image.png | image.png

@cabal95 cabal95 added Type: Bug Confirmed bugs or reports that are very likely to be bugs. Priority: Low Affects a small number of Rock installations and will not be noticed by most users. Topic: Reporting Related to Reports and Data Views labels Jun 2, 2020
@sparkdevnetwork-service sparkdevnetwork-service added the Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Affects a small number of Rock installations and will not be noticed by most users. Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Topic: Reporting Related to Reports and Data Views Type: Bug Confirmed bugs or reports that are very likely to be bugs.
Projects
None yet
Development

No branches or pull requests

2 participants