Project

General

Profile

bug #6570

rank list should be sorted

Added by Katja Luther over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Priority14
Assignee:
Category:
taxeditor
Target version:
Start date:
04/20/2017
Due date:
% Done:

100%

Severity:
normal
Found in Version:

Description

The list of ranks for creation of a new name in bulk editor should be sorted.

Hallo,
nice-to-have: Die Auswahlliste für den Rang eines neuen Namen sollte irgendwie geordnet sein.
Herzlichen Gruß
Walter

Associated revisions

Revision 5039be8c (diff)
Added by Katja Luther over 1 year ago

fix #6570: use treeMap for getKeyLabelPairs() to sort the ranks

Revision bc1205e4 (diff)
Added by Katja Luther over 1 year ago

fix #6570: sort ranks in reverse order

Revision 3271c92d (diff)
Added by Katja Luther over 1 year ago

fix #6570: add comparator to treemap to provide the correct order in rank drop down

History

#1 Updated by Katja Luther over 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#2 Updated by Katja Luther over 1 year ago

Hallo Katja,

du hattest doch glaube ich an der Reihenfolge der Ränge im Name Bulkeditor beim Anlegen eines neuen Namens gearbeitet.

Die Ränge sind jetzt sortiert, aber leider noch falsch rum (das liegt an der unintuitiven Reihenfolge bei den Ordered Terms).

Könntest du das noch ändern?

Außerdem habe ich das Ticket dazu gesucht. Gibt es eins? Wenn ja, bitte dem 4.7 zuordnen und schließen, sobald die Reihenfolge richtig ist, ansonsten bitte eins anlegen.

#3 Updated by Katja Luther over 1 year ago

  • Assignee changed from Katja Luther to Andreas Müller

#4 Updated by Andreas Müller over 1 year ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Katja Luther

Unfortunately it is still in the wrong order. From the code https://dev.e-taxonomy.eu/redmine/projects/edit/repository/taxeditor/revisions/bc1205e46dc994122c14d750e13ea0285059362c/diff I also don't understand why there is an order at all. To me it looks like the data is stored in a map (result variable) so it can not be sorted.

#5 Updated by Katja Luther over 1 year ago

The map is a treemap, this is a sorted map.

#6 Updated by Katja Luther over 1 year ago

  • Status changed from Feedback to Resolved

#7 Updated by Katja Luther over 1 year ago

  • Assignee changed from Katja Luther to Andreas Müller

#8 Updated by Andreas Müller over 1 year ago

  • Status changed from Resolved to Closed
  • Assignee changed from Andreas Müller to Katja Luther
  • % Done changed from 50 to 100

Looks fine now.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)