{"push_id":725775670,"size":2,"distinct_size":2,"ref":"refs/heads/inventory-variant-tests-343","head":"0f838e27443002ceeb8be75a1abc8bcd1f712f5c","before":"122e2956a33efce520d0c191a96bdd95101ad628","commits":[{"sha":"37cb56cf26b8f4681ddb26b1e7a26c7479f39b57","author":{"email":"d98a635d1e4db294157b7e03f059e8ca29ed99ef@gmail.com","name":"Spencer Norman"},"message":"Much better solution to inventory variant inventory quantity problem - #343. Adds tests, and fixes issue where parent/grandparent quantities were not adding up properly. (11 Squashed)\nSquashed commits:\n[272ddf1] Make publications more consistent. Fixes #395.\n[be04b1c] Allow database ids as valid slug for tags.\n\nBevor this change it was for example not possible to use a product id\nas name (slug) for a tag, because the application interpreted the id as\na tag id, instead of a tag name.\n\nA valid use case would be to display a link to a product's related products.\nAllowing a product's id as tag name (slug) it is easy to build an URL to related products e.g.\nproduct/tag/<product_id> .\n\nThe old behaviour is still in service as a fallback.\n[9cf1232] remove testing logging.\n[97a4a5f] Update inventory calculator again. Passes all tests against inventory calculation, is less brittle, and faster.\n[207c0ad] WIP: Still need some work to update all variants if/when the inventory starts wrong.\n[c360ae1] Fix issue where inventory was undefined if variant was new option\n[2beb2a0] Compensate for bootstrap's padding when applying .container-fluid class.\n[0055b68] Replace brittle inventory update hook with slightly more robust update hook that will update all ancestors in parent chain.\n[7f6a91c] Update inventoryVariant tests to test creation of variable quantities of inventoryVariants being added.\n[192b7c5] Addl Inline doc for cloneVariant method.","distinct":true,"url":"https://api.github.com/repos/spencern/reaction-core/commits/37cb56cf26b8f4681ddb26b1e7a26c7479f39b57"},{"sha":"0f838e27443002ceeb8be75a1abc8bcd1f712f5c","author":{"email":"d98a635d1e4db294157b7e03f059e8ca29ed99ef@gmail.com","name":"Spencer Norman"},"message":"Merge branch 'inventory-variant-tests-343' of github.com:spencern/reaction-core into inventory-variant-tests-343","distinct":true,"url":"https://api.github.com/repos/spencern/reaction-core/commits/0f838e27443002ceeb8be75a1abc8bcd1f712f5c"}]}