Update to translate possible values when building other possible values...

This commit is contained in:
2022-10-03 13:31:13 -05:00
parent 21cd07b2df
commit 7415732c6c
2 changed files with 4 additions and 0 deletions

View File

@ -30,7 +30,10 @@ import com.kingsrook.qqq.backend.core.utils.Pair;
/*******************************************************************************
** For a summary report, a list of field/value pairs that make up a "key".
**
** For example, in a report doing summaries by State > City > ZipCode, a SummaryKey
** would look like: [(state:MO),(city:St.Louis),(zipCode:63101)].
*******************************************************************************/
public class SummaryKey implements Cloneable
{

View File

@ -346,6 +346,7 @@ public class QPossibleValueTranslator
/////////////////////////////////////////////////////////////////////////////////////////
// this is needed to get record labels, which are what we use here... unclear if best! //
/////////////////////////////////////////////////////////////////////////////////////////
queryInput.setShouldTranslatePossibleValues(true);
queryInput.setShouldGenerateDisplayValues(true);
QueryOutput queryOutput = new QueryAction().execute(queryInput);