diff --git a/AssemblyVersion.cs b/AssemblyVersion.cs index e0c549b..e1cc5d5 100644 --- a/AssemblyVersion.cs +++ b/AssemblyVersion.cs @@ -16,5 +16,5 @@ using System.Reflection; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("3.0.1.434")] -[assembly: AssemblyFileVersion("3.0.1.434")] +[assembly: AssemblyVersion("3.0.1.435")] +[assembly: AssemblyFileVersion("3.0.1.435")] diff --git a/Core/Formatter.cs b/Core/Formatter.cs index ed35375..a1831c7 100644 --- a/Core/Formatter.cs +++ b/Core/Formatter.cs @@ -933,11 +933,18 @@ namespace ScrewTurn.Wiki { // Sort by descending date/time allChanges.Reverse(); + Func getName = (ns) => { + if(ns == null) return null; + else return ns.Name; + }; + + string currentNamespaceName = getName(currentNamespace); + // Filter by namespace if(!allNamespaces) { allChanges.RemoveAll((c) => { NamespaceInfo ns = Pages.FindNamespace(NameTools.GetNamespace(c.Page)); - return ns != currentNamespace; + return getName(ns) != currentNamespaceName; }); }