Skip to content
This repository has been archived by the owner on Nov 21, 2021. It is now read-only.

Commit

Permalink
#8 - Sort post categories in ascending order by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-jameson committed Jan 31, 2012
1 parent 462934a commit 3bbbde5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bbbde5

Please sign in to comment.