mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX: Allow changing direction in broken link type (from r96987)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@98204 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
93ae487e55
commit
21a9fec0ba
@ -22,7 +22,7 @@ class BrokenLinksReport extends SSReport {
|
||||
} 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";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user