mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
getCollections() now sorts by collection name
git-svn-id: http://scm.dspace.org/svn/repo/trunk@412 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -83,7 +83,6 @@ public class Community implements DSpaceObject
|
||||
/** The logo bitstream */
|
||||
private Bitstream logo;
|
||||
|
||||
|
||||
/**
|
||||
* Construct a community object from a database row.
|
||||
*
|
||||
@@ -382,7 +381,8 @@ public class Community implements DSpaceObject
|
||||
"collection",
|
||||
"SELECT collection.* FROM collection, community2collection WHERE " +
|
||||
"community2collection.collection_id=collection.collection_id " +
|
||||
"AND community2collection.community_id=" + getID() + ";");
|
||||
"AND community2collection.community_id=" + getID() +
|
||||
" ORDER BY collection.name" );
|
||||
|
||||
// Make Collection objects
|
||||
while (tri.hasNext())
|
||||
|
Reference in New Issue
Block a user