mozilla/zamboni — pull request #678 by hannosch (2013-03-18 14:38:41+00:00)
Title: don't override the `index` variable from the function definition

The `index` variable was set to `amo_stats` after the first loop iteration, and then didn't
get updated correctly to `amo` for the InappPayment model.

The test then failed on a term filter for 'mkt-search' as this was analyzed and split into 'mkt' and 'search' tokens.