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

Query builder does not support "Always","Prompt" or "Series results" checkboxes #2000

Closed
maxpatiiuk opened this issue Aug 18, 2022 · 5 comments · May be fixed by #4952
Closed

Query builder does not support "Always","Prompt" or "Series results" checkboxes #2000

maxpatiiuk opened this issue Aug 18, 2022 · 5 comments · May be fixed by #4952
Assignees
Labels
1 - Bug Incorrect behavior of the product 2 - Reports Issues that are related to reports and labels SeparationFrom6
Milestone

Comments

@maxpatiiuk
Copy link
Member

there's a second related issue I've spotted. If the "always" tick box is ticked in specify 6 next to a clause in the query, and then the report is edited in specify 7 - Always becomes unticked. (presumably this occurs because 7 doesn't have a concept of always in queries?)

also important for Reports, as Reports generally rely on Always being ticked for some parts of the query...

From #1934 (comment)

@maxpatiiuk
Copy link
Member Author

Also "Prompt checkbox" and "Series results checkbox"

@grantfitzsimmons grantfitzsimmons moved this to 📋 Backlog in Front-End Backlog Mar 9, 2023
@grantfitzsimmons grantfitzsimmons added 2 - Reports Issues that are related to reports and labels and removed Unsorted labels Jul 2, 2023
@grantfitzsimmons grantfitzsimmons changed the title Query builder does not support an "Always" checkbox Query builder does not support "Always","Prompt" or "Series results" checkboxes Sep 8, 2023
@grantfitzsimmons
Copy link
Member

  • "Always" shows only results where the field is always returned in the query (so query results show results where that field has a value)

  • "Prompt" shows a dialog when running the query where a user can enter a value

  • "Series results" aggregate all catalog numbers into one field as a range (000001-000500) for every group of collection objects that have identical values for all other fields returned in the query

    • So you can produce a single label for a batches of specimens

@CarolineDenis CarolineDenis added this to the 7.9.7 milestone Apr 16, 2024
@CarolineDenis
Copy link
Contributor

@grantfitzsimmons

"Series results" aggregate all catalog numbers into one field as a range (000001-000500) for every group of collection objects that have identical values for all other fields returned in the query

this is the behavior we have when using distinct?

@grantfitzsimmons
Copy link
Member

grantfitzsimmons commented Apr 16, 2024

this is the behavior we have when using distinct?

Now that you mention it, that's exactly what it sounds like, aside from one important detail. It needs to have the catalog number display as the range (i.e. 000001-000500 rather than not displaying a catalog number so it doesn't become unique)

@CarolineDenis CarolineDenis modified the milestones: 7.9.7, 7.9.x Apr 25, 2024
@CarolineDenis CarolineDenis self-assigned this May 13, 2024
@CarolineDenis CarolineDenis modified the milestones: 7.9.x, 7.9.15 Nov 12, 2024
@CarolineDenis
Copy link
Contributor

Closed in favor of #6166

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Front-End Backlog Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - Bug Incorrect behavior of the product 2 - Reports Issues that are related to reports and labels SeparationFrom6
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants