Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Duplicated products when viewing by taxon #1917
Just ran into this on Spree 1.2.0:
Suppose a simple taxonomy:
If I add a product "Retriever" to the Dogs and Furry taxons, then I click on the "Animals" taxon in the app (the store side, not the admin side), I will see:
This is all as one would expect, except that the Retriever product is unexpectedly shown twice under the Animals taxon.
If I change this line of code:
That resolves the problem...however, I was thinking it might be better to fix the scope that's providing duplicates.
FYI, I'm using the following as a workaround for now:
Yeah, I think there's a better fix than uniq as well. If you can make up some failing specs that'd help a lot.
On Tuesday, 11 September 2012 at 9:03 PM, Eric Hochberger wrote: