Skip to content

Commit

Permalink
Sort tags list in EditTags view
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Wagner committed Feb 5, 2021
1 parent d609bd9 commit b3ce070
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ucEditTags.ascx.vb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ Namespace Ventrian.NewsArticles

Localization.LocalizeDataGrid(grdTags, Me.LocalResourceFile)

grdTags.DataSource = objTagController.List(Me.ModuleId, Null.NullInteger)
Dim objTags As ArrayList = objTagController.List(Me.ModuleId, Null.NullInteger)

objTags.Sort()
grdTags.DataSource = objTags
grdTags.DataBind()

If (grdTags.Items.Count > 0) Then
Expand Down

0 comments on commit b3ce070

Please sign in to comment.