Skip to content

Commit a73514f

Browse files
committed
TASK: Refactor mixins int separate files
1 parent a1650eb commit a73514f

2 files changed

Lines changed: 10 additions & 11 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
'Flowpack.SearchPlugin:AutocompletableMixin':
2+
abstract: true
3+
properties:
4+
'__completion':
5+
search:
6+
elasticSearchMapping:
7+
type: text
8+
analyzer: autocomplete
9+
fielddata: true
10+
indexing: "${String.stripTags(q(node).property('title'))}"

Configuration/NodeTypes.Mixins.yaml renamed to Configuration/NodeTypes.Mixin.Suggestable.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,3 @@
1919
type: category
2020
path: '__dimensionCombinationHash'
2121
indexing: "${Flowpack.SearchPlugin.Suggestion.build(q(node).property('title') ? q(node).property('title') : '', 20)}"
22-
23-
'Flowpack.SearchPlugin:AutocompletableMixin':
24-
abstract: true
25-
properties:
26-
'__completion':
27-
search:
28-
elasticSearchMapping:
29-
type: text
30-
analyzer: autocomplete
31-
fielddata: true
32-
indexing: "${String.stripTags(q(node).property('title'))}"

0 commit comments

Comments
 (0)