Ignore:
Timestamp:
Mar 21, 2017, 9:44:03 AM (6 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #2065: Exception when trying to delete a data file type that is referenced from item subtype

The item subtype should now be displayed in the trashcan under the "Items using" section.

File:
1 edited

Legend:

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

    r7298 r7312  
    24012401  </query>
    24022402 
     2403  <query id="GET_ITEMSUBTYPES_FOR_DATAFILETYPE" type="HQL">
     2404    <sql>
     2405      SELECT {1}
     2406      FROM ItemSubtypeFileTypeData sft
     2407      WHERE sft.dataFileType = :dataFileType
     2408    </sql>
     2409    <description>
     2410      A Hibernate query that gets item subtype file types for a specific
     2411      data file type.
     2412    </description>
     2413  </query>
     2414 
     2415 
    24032416  <query id="GET_FILESETMEMBER_FOR_DATAFILETYPE" type="HQL">
    24042417    <sql>
Note: See TracChangeset for help on using the changeset viewer.