From 76d18c140ac1ccb330076095547c28ace07e3b6f Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 28 May 2010 02:31:13 +0000 Subject: [PATCH] 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 --- code/reports/BrokenLinksReport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/reports/BrokenLinksReport.php b/code/reports/BrokenLinksReport.php index fe8dd78f..18fade7c 100644 --- a/code/reports/BrokenLinksReport.php +++ b/code/reports/BrokenLinksReport.php @@ -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"; } }