Univention Bugzilla – Bug 50042
Allow sorting of objects in UMC modules
Last modified: 2019-08-22 11:21:10 CEST
A customer requested a sorting feature for the UMC users module. I think it makes sense to implement this for the UMC in a generic way which is why I'm filing this in UMC (generic). Their use case is to sort users in the UMC based upon their creation or last modification. I think such a feature could technically work with most other attributes as well (A-Z/0-9 | Ascending/Descending). Regarding the UI I was thinking of arrow symbols in the panel which also contains the "Add", "Edit" etc. buttons. This might be a bit problematic should we choose to use a dropdown for selecting the attribute by which the results shall be sorted. In this case it should probably be up next to "Search in:" and "Property"
Could also be sortable via clicking in the column header. Maybe it would be good to make it configurable which columns should be shown for each object type? Workaround would currently be to select the searchable property, there you can already select ascending and descending order. For the customer whish a extended attribute for 'modifyTimestamp' oder 'createTimestamp' could be created, which is then selectable as property. I experienced in the REST API already with server side sorting entries. This is possible with some ldap overlays. Currently the sorting is frontend only, and therefore only alphabetical.