Skip to content

Commit

Permalink
Fix library sort order get lost
Browse files Browse the repository at this point in the history
fixes JabRef#6091

Co-authored-by: Heriniaina Randrianasolo <hjsrandrianasolo@gmail.com>
Co-authored-by: Omar Tachour <omar.tchr@hotmail.com>
Co-authored-by: Sadji Micipsa <micipsasadji@gmail.com>
  • Loading branch information
3 people committed Apr 30, 2020
1 parent 7219e36 commit d0f6d06
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/jabref/model/metadata/SaveOrderConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ public boolean equals(Object o) {
}
if (o instanceof SaveOrderConfig) {
SaveOrderConfig that = (SaveOrderConfig) o;
return Objects.equals(sortCriteria, that.sortCriteria) && Objects.equals(saveInOriginalOrder, that.saveInOriginalOrder);
return Objects.equals(sortCriteria, that.sortCriteria) &&
Objects.equals(saveInOriginalOrder, that.saveInOriginalOrder) &&
Objects.equals(saveInSpecifiedOrder, that.saveInSpecifiedOrder);
}
return false;
}
Expand Down

0 comments on commit d0f6d06

Please sign in to comment.