• Case Sensitivity in List View

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #13558  by aharvey
 
Hello

The company I work for is currently evaluating OpenKM for use as a records management solution, however one behavior in the program is causing us some concern as we cannot figure our how to correct it.

It is currently separating case in the list view window, meaning when viewing files they are ordered like this:

Alpha
Beta
Charlie
alpha
beta
charlie

We need the software to be able to list files with case insensitivity, meaning my example should be listed like this, with the word cat added of course to better illustrate the needed insensitivity:

cat
Charlie
charlie

Has anyone else modified OpenKM to conform to this type of environment? Or at least can point me in the right direction?

Thank you in advanced for any replys.
 #13570  by jllort
 
Now you should make minimal changes and recompile sourcecode.

Into com.openkm.frontend.client.util package you'll find interesting java classes for doing it changes DocumentComparator, FolderComparator etc... for example if we're talking about folders the change should be:

Original
Code: Select all
return first.getName().compareTo(second.getName());
Changed to
Code: Select all
return first.getName()toLowerCase().compareTo(second.getName().toLowerCase());

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.