mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX: Fix broken reasons sorting (from r96985) (from r98203)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105846 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
40efe4437b
commit
fc0f7640dc
@ -19,10 +19,10 @@ class BrokenLinksReport extends SS_Report {
|
||||
|
||||
if($field == 'AbsoluteLink') {
|
||||
$sort = 'URLSegment ' . $direction;
|
||||
}
|
||||
|
||||
if($field == 'Subsite.Title') {
|
||||
} elseif($field == 'Subsite.Title') {
|
||||
$join = 'LEFT JOIN "Subsite" ON "Subsite"."ID" = "SiteTree"."SubsiteID"';
|
||||
} elseif($field == 'BrokenReason') {
|
||||
$sort = "HasBrokenLink ASC, HasBrokenFile ASC";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user