Skip to content

Sort by priority broken #6222

@GSinsley

Description

@GSinsley

JabRef version
JabRef 5.1--2020-03-31--97fcf38
Windows 10 10.0 amd64
Java 14

Sorting by priority does not appear to work correctly in Jabref 5.x. (I originally saw the problem in 5.0, and have verified that it persists in the latest 5.1 snapshot.) In older versions of Jabref, when sorting by priority all red flags would appear first, followed by yellow and green flags, followed by blank priorities. In the latest version all priorities are lumped together followed by entries with no priority, as seen in the attached screenshot.

Steps to reproduce the behavior:

  1. Add priority as a column in the entry table.
  2. Assign priorities to some, but not all entries.
  3. Click twice on the priority column to sort by priority descending.
  4. Observe the order of entries.

image

Log File
Paste an excerpt of your log file here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions