Change in ovirt-engine[master]: core: added default sorting of the audit log events

tjelinek at redhat.com tjelinek at redhat.com
Mon Jan 26 14:34:30 UTC 2015


Tomas Jelinek has submitted this change and it was merged.

Change subject: core: added default sorting of the audit log events
......................................................................


core: added default sorting of the audit log events

If the user wanted to query the events using api using the "Filter: true", the
results returned were not sorted making the ";max=N" param useless.

This patch simply makes them sorted by log time returning the newer events
first.

Change-Id: I3d768a23c758f4d52f9f563a2e339873f451c9e4
Bug-Url: https://bugzilla.redhat.com/1180199
Signed-off-by: Tomas Jelinek <tjelinek at redhat.com>
---
M packaging/dbscripts/audit_log_sp.sql
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Tomas Jelinek: Verified
  Eli Mesika: Looks good to me, but someone else must approve
  Juan Hernandez: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/36885
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3d768a23c758f4d52f9f563a2e339873f451c9e4
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list