Opened 12 years ago
Last modified 12 years ago
#1270 new defect
rss.latest doesn't return sorted value
Reported by: | fgravin | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Future release |
Component: | General | Version: | v2.11.0 |
Keywords: | Cc: |
Description
The service rss.latet should return last modified MD but doesn't return them sorted by changeDate.
So the rss feed doesn't update properly.
Change History (2)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Milestone: | → Future release |
---|
PR merged, thanks Florent.
- master commit d1c29cb1c2b58f999e6b4eacd3320f3e47bf1d8d
- 2.10.x commit 6650510fb5e79ae845868e3ec956afae6450cd7f
For later release, maybe metadata.latest.updated service should also be removed ? (it's used by classic GUI)
Note:
See TracTickets
for help on using tickets.
https://github.com/geonetwork/core-geonetwork/pull/84
I deleted rss.latest service call and redirect rss.latest url to a rss.search?sortBy=changeDate.
The class GetLatestUpdated and the method org.fao.geonet.kernel.search.LuceneSearcher.getAllMdInfo(int) should be deleted as well cause the service doesnt return sorted rss feed.
All call to the service GetLatestUpdated should be replaced by a rss.search with a sortBy param.