Hi Monica,
Is the facet showing more than 1 language? Or is it just "Unique records" and your default culture (e.g. "English") that are being displayed?
If it's showing more than 1 culture, then AtoM thinks you have content in multiple languages. If your site is unilingual, it's possible someone flipped the user interface to a different culture (possibly accidentally) while entering data - this is how you add translations in AtoM, so if you were in the French user interface and entered data (even if it was in English), AtoM would count that as a French description. So - just something to check.
As to why this was not showing up for you in 2.4.1 - I'm not sure, since as far as I can recall (and see in our issue tickets), nothing about this facet has changed in 2.5. The Language facet was introduced in its current form in AtoM 2.1 (ticket
here), and there was a bug fix for it in 2.3.0 (ticket
here) but otherwise it hasn't changed.
Note however that we did upgrade the Elasticsearch version between 2.4 and 2.5 (from ES 1.7 to ES 5.6) so it's possible this has introduced changes, but like I said, as far as I can tell the intended functionality has not changed recently.
In any case, you raise a good point for unilingual sites. Most facets in the search/browse page are made to automatically hide themselves if there are zero or only 1 results, since this is not useful for end users (as all current results would share the same characteristics, and applying this facet would not alter the result count). In the case of the Languages facet filter, there's always at least 2, since we are counting "Unique records" separately (since a single description might exist in multiple languages if there are translations). Consequently it never gets hidden. However, in a unilingual site, when the current culture count is the exact same as the unique records count, this still isn't useful. Consequently, I consider this a bug, and have filed a ticket for us to hopefully address this in a future release:
As you may know, we try to address as many bugs as we can with each major release, but have a limited budget to do so (given that we release AtoM and all its accompanying resources for free), so we rely on our community to help support the project and prioritize issues where we can't, either via code contributions or by sponsoring development. If this is a priority fix for your institution and you might be interested in sponsoring the work to guarantee its inclusion in the 2.6 release we are preparing for later this year, please feel free to contact me off-list and we can provide you with an estimate. If you have developers at your institution who might want to submit a patch to address the issue, we have some
Developer resources on our wiki. If you'd like to learn more about how we maintain and develop AtoM, see this page:
There isn't any way of changing the current behavior without making code modifications, unfortunately. However, I did track down where the code for this facet is located:
You could conceivably comment out these lines to prevent this facet from displaying, like so:
In general, because we don't recommend making code modifications in a production environment without first testing them extensively, I recommend making sure you backup your data, and try this in a test instance before applying to a production site! Note as well that, next time you upgrade, this customization will be overwritten, so you would need to re-implement it after upgrading (ideally with further testing first, in case something in AtoM has changed!).
Cheers,