Skip to content

Commit d711d22

Browse files
Merge pull request #189 from e-bacho/master
Retain existing WHERE clause when performing search
2 parents 486ae8c + cb752f9 commit d711d22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

force-app/main/default/lwc/lwcRelatedList/lwcRelatedList.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,8 @@ export default class LwcDatatable extends NavigationMixin(LightningElement) {
450450
onSearch({
451451
searchTerm: this.searchTerm,
452452
objectApiName: this.objectName,
453-
searchFields: this.fields
453+
searchFields: this.fields,
454+
whereClause: this.whereClause
454455
})
455456
.then((data) => {
456457
this.data = _formatData(this.colsJson, data);

0 commit comments

Comments
 (0)