Add a way to explicity choose aggregators in QB#4646
Conversation
|
The problem seems to be that the back-end is ignoring the formatter name in the request. It is just getting the aggragator and then getting the formatter that the aggregator is pointing to. I changed the code so that it takes into account the 'formatter name' that is passed in the query builder request. |
emenslin
left a comment
There was a problem hiding this comment.
Testing instructions
-
Navigate to the Query Builder (QB).
-
Select a table that you know has one or several aggregators (To check, go to app resources, navigate to Record Formatter, choose the table, select aggressors tab, and verify the list of aggregators names available).
-
Choose "aggregated."
-
Verify that in the query line, after selecting the "aggregated" field box, a drop-down appears with a list of aggregators choices (corresponding to the list in app resources).
-
Verify that changing the aggregator changes the way the field is displayed in the results table.
Changing the aggregator does not change the way the field is displayed and seems to only show the default aggregation.
xOcI2oigeF.mp4
Triggered by 2792f61 on branch refs/heads/issue-4620
emenslin
left a comment
There was a problem hiding this comment.
Testing instructions
-
Navigate to the Query Builder (QB).
-
Select a table that you know has one or several aggregators (To check, go to app resources, navigate to Record Formatter, choose the table, select aggregator tab, and verify the list of aggregators names available).
-
Choose "aggregated."
-
Verify that in the query line, after selecting the "aggregated" field box, a drop-down appears with a list of aggregators choices (corresponding to the list in app resources).
-
Verify that changing the aggregator changes the way the field is displayed in the results table.
Looks good, changing the aggregator changes the results now!

Fixes #4620
Checklist
and self-explanatory (or properly documented)
Testing instructions
Navigate to the Query Builder (QB).
Select a table that you know has one or several aggregators (To check, go to app resources, navigate to Record Formatter, choose the table, select aggregator tab, and verify the list of aggregators names available).
Choose "aggregated."
Verify that in the query line, after selecting the "aggregated" field box, a drop-down appears with a list of aggregators choices (corresponding to the list in app resources).
Verify that changing the aggregator changes the way the field is displayed in the results table.