Project

General

Profile

Actions

Improvement #11793

closed

Show the newest certificates at the top of the table

Added by Arshana Atapattu 3 months ago. Updated 24 days ago.

Status:
Closed
Priority:
Medium
Start date:
16/08/2024
Due date:
% Done:

100%

Estimated time:
Device Type:
Component:
Type:
Platform

Description

Description

Currently the newest adding certificates are showing at the bottom of the table(If there were lot of pages, we have to go to last page to see the certificate).

This can be accomplished by adding DESC to the query [1]
Current: query += "ORDER BY ID LIMIT ?,?";
Adding desc: query += "ORDER BY ID DESC LIMIT ?,?";

[1]
https://repository.entgra.net/community/device-mgt-core/src/commit/152b1ad929d1c09ab417b17ee48d22750a6c36c4/components/certificate-mgt/io.entgra.device.mgt.core.certificate.mgt.core/src/main/java/io/entgra/device/mgt/core/certificate/mgt/core/dao/impl/GenericCertificateDAOImpl.java#L141

Actions

Also available in: Atom PDF