This was re-encoding the search slug each loop - if the category list was not the first category in the list, it'd continually search with a re-encoded search term from the previous iteration. This results in ember 404ing when navigating to raw encoded category slugs of the form /c/encoded-slug-with-non-ascii that have no ID attached. |
||
|---|---|---|
| .. | ||
| assets | ||
| controllers | ||
| helpers | ||
| jobs | ||
| mailers | ||
| models | ||
| serializers | ||
| services | ||
| views | ||