From 526128beff996a2eef7cb8b5b4827d3a53afed0f Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Wed, 14 Jul 2010 19:26:29 +0000 Subject: [PATCH] Hidden boards implemented --- Builder/IISMainHandler/build.txt | 2 +- Common/dataobjects/Board.cs | 1 + Common/dataobjects/Category.cs | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index 90064a9..c5befbc 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -854 \ No newline at end of file +856 \ No newline at end of file diff --git a/Common/dataobjects/Board.cs b/Common/dataobjects/Board.cs index 08abe09..8c9e5ea 100644 --- a/Common/dataobjects/Board.cs +++ b/Common/dataobjects/Board.cs @@ -163,6 +163,7 @@ namespace FLocal.Common.dataobjects { } ) let board = Board.LoadById(id) + where board.sortOrder >= 0 orderby board.sortOrder, board.id select board; } diff --git a/Common/dataobjects/Category.cs b/Common/dataobjects/Category.cs index 5a07c9c..58f7587 100644 --- a/Common/dataobjects/Category.cs +++ b/Common/dataobjects/Category.cs @@ -90,6 +90,7 @@ namespace FLocal.Common.dataobjects { } ) let board = Board.LoadById(id) + where board.sortOrder >= 0 orderby board.sortOrder, board.id select board; }