+ 1 results in +2 (23 + 1 = 25)
+2 results in +4 (23 + 2 = 27)
+5 results in plus +10 (23 + 5 = 33)
Exact same problem when using Calculate A Data Value.
{ "rules_stats" : {
"LABEL" : "stats",
"PLUGIN" : "reaction rule",
"OWNER" : "rules",
"REQUIRES" : [ "rules" ],
"ON" : { "node_view--vendor_listing" : { "bundle" : "vendor_listing" } },
"IF" : [
{ "entity_has_field" : { "entity" : [ "node" ], "field" : "field_views" } }
],
"DO" : [
{ "data_set" : {
"data" : [ "node:field-views" ],
"value" : { "select" : "node:field-views", "num_offset" : { "value" : "1" } }
}
}
]
}
}
Comments
Comment #2
BarwonHack CreditAttribution: BarwonHack commentedPossibly (probably) Page is Viewed is triggered twice as the same actions used with After Updating Content resulted in the correct calculation.
Comment #3
TR CreditAttribution: TR commented#2 indicates it works.