MitchDrage opened a new issue, #14277:
URL: https://github.com/apache/cloudstack/issues/14277

   ### problem
   
   The event list - both the Dashboard tile and the event page - are paginated 
as newest events on the first page, but with oldest events at the top.
   
   Note the timestamps in this image:
   <img width="733" height="391" alt="Image" 
src="https://github.com/user-attachments/assets/4c493148-18d0-46b7-8783-2bcf52eb801a";
 />
   
   ### versions
   
   4.22.1.1
   
   ### The steps to reproduce the bug
   
   View the event list.
   
   ### What to do about it?
   
   It looks like this has been around since mid-2024 (4.19.1.0) - I got Claude 
to go back and find where it changed and it looks like the listEvents was a 
single query with a sort by newest prior to #8321, where it lost its sort order 
because `searchByIds` doesn't have an ORDER BY.
   
   I propose introducing a sort order in `searchForEventsInternal`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to