mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-13 21:13:19 +00:00
Fix feed generation to use descending order (so most recent items come first)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2489 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -329,6 +329,7 @@ public class FeedServlet extends DSpaceServlet
|
|||||||
if (so.getName().equals(idx))
|
if (so.getName().equals(idx))
|
||||||
scope.setSortBy(so.getNumber());
|
scope.setSortBy(so.getNumber());
|
||||||
}
|
}
|
||||||
|
scope.setOrder(SortOption.DESCENDING);
|
||||||
|
|
||||||
// the feed
|
// the feed
|
||||||
Channel channel = new Channel();
|
Channel channel = new Channel();
|
||||||
|
Reference in New Issue
Block a user