Opened 17 years ago

Closed 17 years ago

#22 closed defect (fixed)

Getting the list of latest updated entries: Postgres complains

Reported by: joeri.theelen@… Owned by: geonetwork-devel@…
Priority: major Milestone: v2.1 beta 2
Component: General Version:
Keywords: Postgres, guiservices Cc:

Description

In class "org.fao.geonet.guiservices.metadata.GetLatestUpdated", the SELECT query for getting the list of last updated entries in the catalogue, should not only ask for the field "id" but "changeDate" as well, as "changeDate" is in the ORDER BY clause. Postgres complains about this.

SELECT DISTINCT id, changeDate FROM Metadata, OperationAllowed
WHERE ...
ORDER BY changeDate DESC

Change History (1)

comment:1 by acarboni, 17 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.