-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorting custom entry fields that contain numerical values #6349
Comments
Hi, following #6222 i think we have to implemented a new Comparator for that field. If you agree with me I could contribute by fixing this issue. |
@dextep that would be cool. I think we need to specify a case for numeric/non numeric cases here that work for unknown fields as well |
If someone want to take this issue feel free because i have less time than previews i think. |
@Siedlerchr Hi, I think I can handle this issue! Do you want me to add a special field like in the issue mentioned above or do you want to add the case for numeric/non numeric cases somewhere else? |
If you want we can collaborate? I have a solution in mind (ofc if you don't mind) |
Of course! That would be awesome! |
This issue has been inactive for half a year. Since JabRef is constantly evolving this issue may not be relevant any longer and it will be closed in two weeks if no further activity occurs. As part of an effort to ensure that the JabRef team is focusing on important and valid issues, we would like to ask if you could update the issue if it still persists. This could be in the following form:
Thank you for your contribution! |
JabRef version 5.0 on Ubuntu 16.04, and on Windows 10, both installed using the installation files (.deb or .msi) downloaded from the JabRef website.
I assume the Java version will be that provided by the installer.
The most relevant seem to be:
Field properties - future implementation #978 Field properties - future implementation
Sorting by title is broken #2200 Sorting by title is broken
but both of these issues have been "Closed"
JabRef allows the user to add custom general entry fields that contain numerical values. All versions of JabRef prior to 5.0 allowed the Entry Table to be sorted in the numerical order of the value of such a custom field, simply by clicking on the column header.
However, with JabRef 5.0, the numerical (integer) values in this column are sorted in alphabetical order instead!
This means, for example that the numbers 1,2,3,10,13, 21
are sorted into the order 1,10,13,2,21,3
This suggests the numerical values are being treated as plain text.
I did not observe this problem with JabRef 4.3.1 or earlier versions.
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: