Skip to content

Commit

Permalink
BUGFIX: Allow changing direction in broken link type (from r96987)
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@98204 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
Sam Minnee committed Feb 2, 2011
1 parent 93ae487 commit 21a9fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/reports/BrokenLinksReport.php
Expand Up @@ -22,7 +22,7 @@ function sourceRecords($params, $sort, $limit) {
} elseif($field == 'Subsite.Title') {
$join = 'LEFT JOIN "Subsite" ON "Subsite"."ID" = "SiteTree"."SubsiteID"';
} elseif($field == 'BrokenReason') {
$sort = "HasBrokenLink ASC, HasBrokenFile ASC";
$sort = "HasBrokenLink $direction, HasBrokenFile $direction";
}
}

Expand Down

0 comments on commit 21a9fec

Please sign in to comment.