From a115bb9a3c00d537e3dec2d9140177882aa664fd Mon Sep 17 00:00:00 2001 From: Physikbuddha Date: Thu, 3 Dec 2015 12:45:42 +0100 Subject: [PATCH] Fixed hardcoded language in SQL command --- WSUSOnlineDescriptions/MainWindowViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WSUSOnlineDescriptions/MainWindowViewModel.cs b/WSUSOnlineDescriptions/MainWindowViewModel.cs index 156863f..7acfc58 100644 --- a/WSUSOnlineDescriptions/MainWindowViewModel.cs +++ b/WSUSOnlineDescriptions/MainWindowViewModel.cs @@ -165,7 +165,7 @@ private async void queryKBCommand_CommandExecuted(object sender, EventArgs e) "JOIN tbUpdate u ON p.UpdateID = u.UpdateID " + "JOIN tbRevision r ON u.LocalUpdateID = r.LocalUpdateID " + "JOIN tbKBArticleForRevision kb ON r.RevisionID = kb.RevisionID " + - "WHERE p.ShortLanguage = 'de' AND u.IsHidden = 0 AND r.State = 3 AND r.IsLatestRevision = 1 " + + "WHERE u.IsHidden = 0 AND r.State = 3 AND r.IsLatestRevision = 1 " + "ORDER BY kb.KBArticleID", con)) {