Skip to content

Commit

Permalink
Fix: Segment assigner search showing wrong entries like folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjia90 authored and dvesh3 committed Jul 19, 2022
1 parent 40a9fad commit 7f7fa15
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Resources/public/js/SegmentAssignmentView.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,9 @@ pimcore.plugin.customermanagementframework.segmentAssignmentTab = Class.create({
openSearchEditor: function () {
pimcore.helpers.itemselector(true, this.addDataFromSelector.bind(this), {
type: ['object'],
subtype: ['object'],
subtype: {
object: ['object']
},
specific: {
classes: ['CustomerSegment']
}
Expand Down Expand Up @@ -319,4 +321,4 @@ pimcore.plugin.customermanagementframework.segmentAssignmentTab = Class.create({
}
);
}
});
});

0 comments on commit 7f7fa15

Please sign in to comment.