Skip to content

Commit

Permalink
Merge pull request #2556 from jlawyerorg/fix/sorting-of-tags
Browse files Browse the repository at this point in the history
fixes sorting of case and document tags
  • Loading branch information
j-dimension authored Aug 29, 2024
2 parents 1abf768 + 45bcd46 commit b4d60fa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@
import com.jdimension.jlawyer.client.settings.UserSettings;
import com.jdimension.jlawyer.client.utils.ComponentUtils;
import com.jdimension.jlawyer.client.utils.FileUtils;
import com.jdimension.jlawyer.client.utils.StringUtils;
import com.jdimension.jlawyer.persistence.*;
import com.jdimension.jlawyer.services.ArchiveFileServiceRemote;
import com.jdimension.jlawyer.services.JLawyerServiceLocator;
Expand Down Expand Up @@ -768,7 +769,7 @@ public AddNoteDialog(java.awt.Frame parent, boolean modal, CaseFolderPanel targe
for (AppOptionGroupBean tag : settings.getDocumentTagDtos()) {
allTags2.add(tag.getValue());
}
Collections.sort(allTags2);
StringUtils.sortIgnoreCase(allTags2);
for (String s : allTags2) {
dm2.addElement(s);
}
Expand Down

0 comments on commit b4d60fa

Please sign in to comment.