mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
[DS-279] XMLUI Item Mapper will map the same item more than one time
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4264 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -141,11 +141,28 @@ public class SearchItemForm extends AbstractDSpaceTransformer {
|
||||
String url = contextPath+"/handle/"+item.getHandle();
|
||||
|
||||
Row row = table.addRow();
|
||||
|
||||
CheckBox select = row.addCell().addCheckBox("itemID");
|
||||
select.setLabel("Select");
|
||||
select.addOption(itemID);
|
||||
|
||||
|
||||
boolean canBeMapped = true;
|
||||
Collection[] collections = item.getCollections();
|
||||
for (Collection c : collections)
|
||||
{
|
||||
if (c.getID() == collectionID)
|
||||
{
|
||||
canBeMapped = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (canBeMapped)
|
||||
{
|
||||
CheckBox select = row.addCell().addCheckBox("itemID");
|
||||
select.setLabel("Select");
|
||||
select.addOption(itemID);
|
||||
}
|
||||
else
|
||||
{
|
||||
row.addCell().addContent("");
|
||||
}
|
||||
|
||||
row.addCellContent(owning);
|
||||
row.addCell().addXref(url,author);
|
||||
row.addCell().addXref(url,title);
|
||||
|
@@ -42,6 +42,7 @@
|
||||
- [DS-242] Special groups shown for logged in user rather than for user being examined
|
||||
- [DS-250] Invalid identifiers are not escaped
|
||||
- [DS-256] Item Export ignores metadata language qualifier
|
||||
- [DS-279] XMLUI Item Mapper will map the same item more than one time
|
||||
- [DS-290] [dspace]/exports is not created during fresh install
|
||||
- [DS-303] Export migrate option incorrectly removes non-handle identifier.uris
|
||||
|
||||
|
Reference in New Issue
Block a user