Ignore:
Timestamp:
Feb 21, 2017, 9:49:31 AM (6 years ago)
Author:
Nicklas Nordborg
Message:

References #2056: Improve API for project-specific annotations

The AnnotationBatcher should now have support for setting a specific project to work with. A single batcher may only work with one project (or with default values) during it's lifetime. It is not possible to switch strategy between items or annotation types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/common-queries.xml

    r7290 r7298  
    35833583      SELECT [annotationtype_id], [id], [version], [unit_id], [value_id], [last_update], [project_id], [override_id]
    35843584      FROM [Annotations]
    3585       WHERE [annotationset_id] = :annotationSet AND [source] = 0 AND ([project_id] = 0 OR [project_id] = :activeProject)
     3585      WHERE [annotationset_id] = :annotationSet AND [source] = 0 AND ([project_id] = :defaultProject OR [project_id] = :activeProject)
    35863586    </sql>
    35873587    <description>
Note: See TracChangeset for help on using the changeset viewer.