Ignore:
Timestamp:
Feb 24, 2010, 12:08:55 PM (15 years ago)
Author:
gav
Message:

Add missing sort to asset tree export.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/CsvService.groovy

    r340 r409  
    422422
    423423            if(asset.assetSubItems.size() > 0) {
    424                 asset.assetSubItems.each() { assetSubItem1 ->
     424                asset.assetSubItems.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }.each() { assetSubItem1 ->
    425425                    writeAssetSubItem1(assetSubItem1)
    426426                    row.removeRange(row.size()-2, row.size())
Note: See TracChangeset for help on using the changeset viewer.