Opened 17 years ago
Closed 17 years ago
#22 closed defect (fixed)
Getting the list of latest updated entries: Postgres complains
Reported by: | Owned by: | ||
---|---|---|---|
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
Note:
See TracTickets
for help on using tickets.