diff --git a/src/Subtext.Framework/Infrastructure/Installation/Scripts/StoredProcedures.sql b/src/Subtext.Framework/Infrastructure/Installation/Scripts/StoredProcedures.sql index e51546a36..0c11a6945 100644 --- a/src/Subtext.Framework/Infrastructure/Installation/Scripts/StoredProcedures.sql +++ b/src/Subtext.Framework/Infrastructure/Installation/Scripts/StoredProcedures.sql @@ -1126,6 +1126,8 @@ WHERE (c.CategoryID = @CategoryID OR @CategoryID IS NULL) AND (c.CategoryType = @CategoryType OR @CategoryType IS NULL) AND (c.BlogId = @BlogId OR @BlogId IS NULL) AND c.Active <> CASE @IsActive WHEN 0 THEN -1 else 0 END +ORDER BY + c.Title GO