Changeset 7203


Ignore:
Timestamp:
Oct 18, 2016, 6:30:54 PM (6 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #2035: The "Shared to me" option is not working in batch importers

Location:
trunk/src/plugins/core/net/sf/basedb/plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plugins/core/net/sf/basedb/plugins/AnnotationFlatFileImporter.java

    r7202 r7203  
    566566        // Include options
    567567        storeValue(job, request, ri.getParameter("includeMine"));
    568         storeValue(job, request, ri.getParameter("includeSharedTo"));
     568        storeValue(job, request, ri.getParameter("includeShared"));
    569569        storeValue(job, request, ri.getParameter("includeInProject"));
    570570        storeValue(job, request, ri.getParameter("includeOthers"));
     
    767767    Set<Include> includes = EnumSet.noneOf(Include.class);
    768768    if (Boolean.TRUE.equals((Boolean)job.getValue("includeMine"))) includes.add(Include.MINE);
    769     if (Boolean.TRUE.equals((Boolean)job.getValue("includeSharedTo"))) includes.add(Include.MINE);
     769    if (Boolean.TRUE.equals((Boolean)job.getValue("includeShared"))) includes.add(Include.SHARED);
    770770    if (Boolean.TRUE.equals((Boolean)job.getValue("includeInProject"))) includes.add(Include.IN_PROJECT);
    771771    if (Boolean.TRUE.equals((Boolean)job.getValue("includeOthers"))) includes.add(Include.OTHERS);
  • trunk/src/plugins/core/net/sf/basedb/plugins/batchimport/AbstractItemImporter.java

    r7101 r7203  
    612612    Set<Include> includes = EnumSet.noneOf(Include.class);
    613613    if (Boolean.TRUE.equals((Boolean)job.getValue("includeMine"))) includes.add(Include.MINE);
    614     if (Boolean.TRUE.equals((Boolean)job.getValue("includeSharedTo"))) includes.add(Include.SHARED);
     614    if (Boolean.TRUE.equals((Boolean)job.getValue("includeShared"))) includes.add(Include.SHARED);
    615615    if (Boolean.TRUE.equals((Boolean)job.getValue("includeInProject"))) includes.add(Include.IN_PROJECT);
    616616    if (Boolean.TRUE.equals((Boolean)job.getValue("includeOthers"))) includes.add(Include.OTHERS);
Note: See TracChangeset for help on using the changeset viewer.