• Sorting by folder name

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #13578  by rafal
 
Hello,
can I sort folder in repository by name, ie.
I have folders: folder1,folder2...,folder10
OpenKM sort then like this:folder1,folder10,folder2,...
Can I sort it correctly?
 #13601  by pavila
 
Well, this the is the natural Java string sorting where hi10 > hi2:
Code: Select all
String[] ary = new String[] { "hola1", "hola2", "hola10" };
System.out.println(ary[0] + ", " + ary[1] + ", " + ary[2]);
Arrays.sort(ary);
System.out.println(ary[0] + ", " + ary[1] + ", " + ary[2]);
You need to name your folders as: folder01, folder02, folder20, etc.

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.