Prior to this change, we had ensured knapsack's translations took
precedence over Hyku's. However, that ensuring occurred at the
after_initialize. We had missed the CatalogController's translation
moment as well.
When we specify the index fields in the CatalogController, blacklight
caches those translations. However, in the case of dogbiscuits, those
are not yet loaded. Which results in a translation error; even though
we later load the dog biscuits translations.
With this change, I have added two tests to:
verify that translations are correct for the catalog controller
that when the app boots, the Knapsack translations take precedence
over Hyku.
Prior to this change, we had ensured knapsack's translations took precedence over Hyku's. However, that ensuring occurred at the after_initialize. We had missed the CatalogController's translation moment as well.
When we specify the index fields in the CatalogController, blacklight caches those translations. However, in the case of dogbiscuits, those are not yet loaded. Which results in a translation error; even though we later load the dog biscuits translations.
With this change, I have added two tests to:
Related to: