I'm modifying the View Template to display custom attributes, which it does beautifully by using att5 but when I add it to the sort I get the following error:
Error: Object reference not set to an instance of an object.
In: at Bring2mind.DNN.Modules.DMX.Entities.Entries.EntriesController.GetCollectionContents(Int32 PortalId, Int32 CollectionId, Int32 UserId, Boolean UserIsAdmin, String Locale, Boolean IncludePermissions, Boolean IncludeAttributes, Boolean IncludeDeleted, Boolean IncludeHidden, String Sort, Int32& TotalCount, Int32 StartRecord, Int32 EndRecord) at Bring2mind.DNN.Modules.DMX.TemplateView.ᜀ(String A_0, Dictionary`2 A_1, List`1& A_2, List`1& A_3) at Bring2mind.DNN.Modules.DMX.Services.Templating.ViewTemplate.ᜀ(String A_0, Dictionary`2 A_1, List`1& A_2, List`1& A_3) at Bring2mind.DNN.Modules.DMX.Services.Templating.Template.ᜀ(String A_0, Dictionary`2 A_1, List`1& A_2, List`1& A_3) at Bring2mind.DNN.Modules.DMX.Services.Templating.Template.ᜀ(Match A_0) at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat) at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator) at Bring2mind.DNN.Modules.DMX.Services.Templating.Template.ReplaceContents()
Code:
Discipline Resulting url:
http://www.privateinfo.co...=1&sort=att5&so=desc This one does not give an error, but it also does not sort:
Discipline Resulting url:
http://www.privateinfo.co...ryid=1&sort=&so=desc