BUGFIX: Allow changing direction in broken link type (from r96987) (from r98204)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105847 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-05-28 02:31:13 +00:00
parent fc0f7640dc
commit 76d18c140a

View File

@ -22,7 +22,7 @@ class BrokenLinksReport extends SS_Report {
} 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";
}
}