Swap setVariantOptionsTableTypeField for setVariantOptionsTableTypeValue re: which one sets the new config's setVariantTypeKey

This commit is contained in:
2025-02-14 20:45:51 -06:00
parent c341708d21
commit 3f8c2957d1

View File

@ -452,8 +452,6 @@ public class QBackendMetaData implements TopLevelMetaDataInterface
@Deprecated(since = "Replaced by fieldName in filter in backendVariantsConfig - but leaving as field to pair with ...TypeValue for building filter") @Deprecated(since = "Replaced by fieldName in filter in backendVariantsConfig - but leaving as field to pair with ...TypeValue for building filter")
public void setVariantOptionsTableTypeField(String variantOptionsTableTypeField) public void setVariantOptionsTableTypeField(String variantOptionsTableTypeField)
{ {
this.getOrWithNewBackendVariantsConfig().setVariantTypeKey(variantOptionsTableTypeField);
this.variantOptionsTableTypeField = variantOptionsTableTypeField; this.variantOptionsTableTypeField = variantOptionsTableTypeField;
if(this.variantOptionsTableTypeValue != null) if(this.variantOptionsTableTypeValue != null)
{ {
@ -481,6 +479,8 @@ public class QBackendMetaData implements TopLevelMetaDataInterface
@Deprecated(since = "Replaced by variantTypeKey and value in filter in backendVariantsConfig - but leaving as field to pair with ...TypeField for building filter") @Deprecated(since = "Replaced by variantTypeKey and value in filter in backendVariantsConfig - but leaving as field to pair with ...TypeField for building filter")
public void setVariantOptionsTableTypeValue(String variantOptionsTableTypeValue) public void setVariantOptionsTableTypeValue(String variantOptionsTableTypeValue)
{ {
this.getOrWithNewBackendVariantsConfig().setVariantTypeKey(variantOptionsTableTypeValue);
this.variantOptionsTableTypeValue = variantOptionsTableTypeValue; this.variantOptionsTableTypeValue = variantOptionsTableTypeValue;
if(this.variantOptionsTableTypeField != null) if(this.variantOptionsTableTypeField != null)
{ {