• How to set the files to sort by date of the update?

  • 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.
 #44449  by kxhuang080
 
Hi ,
By default ,OpenKM sort files by document name .Now I want to change sort setting, but I cann't do anything.Because I do not find any setting in OpenKM Administraotor tab . So anyone who can help me solving this problem?

Thanks!
Attachments
Untitled.png
Untitled.png (19.36 KiB) Viewed 1788 times
 #44462  by jllort
 
Do you want to change the default sort, change by name in favour of creation, is that ? for it should modify source code ( do you have JAVA skills for it ? )
 #44525  by jllort
 
Should take a look at FileBrowser.java ( there you should take a look at the ExtendedScrollTable.java and ExtendedColumnSorter.java ).
Application first load folders, then documents and finally the mails, take a look at refresh(String fldId ) between lines 393 until 522)
When paginated is enabled the logic might changes and servlet take more control in ordering.

The source code is available at https://github.com/openkm/document-management-system

For the development environment https://sourceforge.net/projects/openkmportabledev/ ( but is not updated with github source code is still pointing to old svn at sourceforge ). From here you will find some clues about how installing yourself https://docs.openkm.com/kcenter/view/ok ... lipse.html

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.