bugfix add fields to advanced query (#290)
parent
045536f4b0
commit
88c1f03494
|
@ -140,7 +140,7 @@ const panel = {
|
||||||
var newFields = panel.fieldList.map(itemField => {
|
var newFields = panel.fieldList.map(itemField => {
|
||||||
const isMandatory = itemField.isMandatory || itemField.isMandatoryFromLogic
|
const isMandatory = itemField.isMandatory || itemField.isMandatoryFromLogic
|
||||||
if (!isMandatory && fieldIsDisplayed(itemField)) {
|
if (!isMandatory && fieldIsDisplayed(itemField)) {
|
||||||
if (itemField.groupAssigned === groupField) {
|
if (isAdvancedQuery || itemField.groupAssigned === groupField) {
|
||||||
if (fieldsUser.length && fieldsUser.includes(itemField.columnName)) {
|
if (fieldsUser.length && fieldsUser.includes(itemField.columnName)) {
|
||||||
// if it isShowedFromUser it is false, and it has some value, it means
|
// if it isShowedFromUser it is false, and it has some value, it means
|
||||||
// that it is going to show, therefore the SmartBrowser must be searched
|
// that it is going to show, therefore the SmartBrowser must be searched
|
||||||
|
|
Loading…
Reference in New Issue