GeekOnCoffee/spree_product_sort — pull request #9 by paul-at (2013-10-30 10:53:54+00:00)
Title: Fix a condition where sort order for taxon 0 overridden sort orders set in current taxon

Due to the way how associations work a condition existed where sort order of taxon with smaller id overriden sort order set for taxon in search scope. This patch adds additional where clause to restrict Product - ProductTaxon association join only to use sort orders set for self and descendant taxons.