Yeah, this is clearly a bug in the patch:
++ var menuItems = manager.Notes ++ .Where (n => !n.IsSpecial) ++ .OrderByDescending (n => n.ChangeDate) ++ .Take (10) ++ .Select (n => new NoteMenuItem (n, n.IsPinned)) ++ .ToArray ();
There is no check at all for whether the note is a template. You guys need to add something like:
Tag template_tag = TagManager.GetOrCreateSystemTag (TagManager.TemplateNoteSystemTag);
and change the Where clause to:
++ .Where (n => !n.IsSpecial && !n.ContainsTag(template_tag))
Yeah, this is clearly a bug in the patch:
++ var menuItems = manager.Notes
++ .Where (n => !n.IsSpecial)
++ .OrderByDescending (n => n.ChangeDate)
++ .Take (10)
++ .Select (n => new NoteMenuItem (n, n.IsPinned))
++ .ToArray ();
There is no check at all for whether the note is a template. You guys need to add something like:
Tag template_tag = TagManager. GetOrCreateSyst emTag (TagManager. TemplateNoteSys temTag) ;
and change the Where clause to:
++ .Where (n => !n.IsSpecial && !n.ContainsTag( template_ tag))