[opencms-dev] How to make the OpenCms Explorer sort file names case-insensitively (like it does with titles)?
Ramon Gavira Sáenz
ramon.gavira at sagasoluciones.com
Mon Oct 27 09:43:59 CET 2025
Hi all,
Just a quick follow-up to my own question: after investigating further, we’ve confirmed that this behavior cannot be changed via configuration alone.
To address the issue, we’ve submitted a Pull Request<https://github.com/alkacon/opencms-core/pull/825> to the OpenCms GitHub repository with a proposed fix that enables case-insensitive sorting by file name in the Explorer view. The change ensures consistency with how titles are sorted and improves usability when browsing large content folders.
Thanks to everyone who reached out or looked into it!
Best regards,
Ramón Gavira Sáenz
Saga Soluciones Tecnológicas
________________________________
De: opencms-dev <opencms-dev-bounces at opencms.org> en nombre de Ramon Gavira Sáenz via opencms-dev <opencms-dev at opencms.org>
Enviado: miércoles, 15 de octubre de 2025 18:21
Para: Lista correo OpenCms <opencms-dev at opencms.org>
Cc: Ramon Gavira Sáenz <ramon.gavira at sagasoluciones.com>
Asunto: [opencms-dev] How to make the OpenCms Explorer sort file names case-insensitively (like it does with titles)?
Hi,
In my OpenCms 19 installation, I’ve noticed that the Explorer (content browser under .content/...) sorts items differently depending on the column:
*
When sorting by Title, the order is case-insensitive, which feels natural.
*
But when sorting by Name, the order is case-sensitive, so files like appear A* - B* - Z* - a* - b*... z*
Is there any way to configure the Explorer so that sorting by Name also ignores case?
Does this depend on the database collation, the Solr index, or is it handled internally by the workplace UI? I have tried changing type of filename from String to text_general but it doesn't work
Thanks in advance,
- Ramón G.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20251027/bc82ffe9/attachment.htm>
More information about the opencms-dev
mailing list