Skip to content

Commit

Permalink
VCST-776: fix: Incorrect availability data when storing catalog objec…
Browse files Browse the repository at this point in the history
…ts in index (#541)
  • Loading branch information
artem-dudarev committed Apr 10, 2024
1 parent 54aa67a commit a72400b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ public static IList<RegexpNameMapper> Mappers

new RegexpNameMapper(@"imgSrc", "images"),

new RegexpNameMapper(@"__object.availabilityData.*", "$0", new [] { "__object.trackInventory" }),
new RegexpNameMapper(@"__object.availabilityData.isActive", "__object.isActive"),
new RegexpNameMapper(@"__object.availabilityData.isBuyable", "__object.isBuyable"),
new RegexpNameMapper(@"__object.availabilityData.trackInventory", "__object.trackInventory"),
new RegexpNameMapper(@"__object.availabilityData.isTrackInventory", "__object.trackInventory"),

new RegexpNameMapper(@"__object.parent.*", "__object.parentId"),
new RegexpNameMapper(@"__object.hasParent.*", "__object.parentId"),
Expand Down

0 comments on commit a72400b

Please sign in to comment.