File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
specs/composition/common/schemas/components
tests/CTS/requests/composition Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,14 @@ condition:
7070 You can add add filters using the syntax `facet:value` so that the rule is triggered, when the specific filter is selected.
7171 You can use `filters` on its own or combine it with the `pattern` parameter.
7272 example : ' genre:comedy'
73+ sortBy :
74+ type : string
75+ description : |
76+ Sort criteria that trigger the rule.
77+
78+ You can trigger composition rules based on the selected sorting strategy set by the parameter `sortBy`.
79+ The rule will trigger if the value passed to `sortBy` matches the one defined in the condition.
80+ example : ' price-low-to-high'
7381
7482anchoring :
7583 type : string
Original file line number Diff line number Diff line change 334334 {
335335 "anchoring" : " contains" ,
336336 "pattern" : " harry"
337+ },
338+ {
339+ "sortBy" : " price-low-to-high"
337340 }
338341 ],
339342 "consequence" : {
384387 {
385388 "anchoring" : " contains" ,
386389 "pattern" : " harry"
390+ },
391+ {
392+ "sortBy" : " price-low-to-high"
387393 }
388394 ],
389395 "consequence" : {
You can’t perform that action at this time.
0 commit comments