diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue index 7c1f2fcc1..9e1fb8f91 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue @@ -621,14 +621,14 @@ export default { const advanceSearchVOList = []; for (let key in formData) { const value = formData[key]; - if (value !== null && value !== '' && value.length > 0 && (key === 'SYRZ' || key === 'CLLX')) { + if (value !== null && value !== '' && value !== undefined && value !== [] && (key === 'SYRZ' || key === 'CLLX')) { advanceSearchVOList.push({ connect: "and", field: key || '', type: 'regexp', value: value.join(',') }); - } else if (value !== null && value !== '' && value.length > 0 && (key === 'SSRQ' || key === 'XCXSSRQ' || key === 'ZCCSSRQ')) { + } else if (value !== null && value !== '' && value !== undefined && value !== [] && (key === 'SSRQ' || key === 'XCXSSRQ' || key === 'ZCCSSRQ')) { advanceSearchVOList.push({ connect: "and", field: key || '',