Project

General

Profile

bug #8465

Term nodes order in term trees is ignored in term tree editor

Added by Patrick Plitzner 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
New
Category:
taxeditor
Target version:
Start date:
08/15/2019
Due date:
% Done:

100%

Severity:
normal
Found in Version:

Description

ich hatte gerade einen neuen Feature Term "Chemophenetics" für den Cichorieae Feature Tree geschaffen , den wollte ich in die richtige Position in der Reihenfolge der Feature Terme im Tree bringen, aber im Editor wird die Reihenfolge (im Term Tree Editor) alphabetisch angezeigt. Ich kann mit drag und drop zwar schieben (unten im Statusbalken wird auch "Move feature completed" angezeigt und die Reihenfolge ändert sich so auch im Portal), aber wg. der alphabetischen Sortierung sehe ich weder das Verschieben noch die tatsächliche Reihenfolge im Feature Tree Editor, was das Verschieben blindflugmäßig macht


Related issues

Related to Edit - feature request #8474: Make TermCollection.orderRelevant usable for TermTrees New 08/16/2019

Associated revisions

Revision 74a9e9d7 (diff)
Added by Patrick Plitzner 3 months ago

fix #8465 Do not sort term nodes with term tree comparator

History

#1 Updated by Andreas Müller 3 months ago

Note: The new TermCollection base class has a flag now called "orderRelevant". This should in future decide if the order of a TermTree (or any other collection) is relevant or if it should be ordered by generall rules like alphabet in UIs.
However, the flag is not yet in use (all FeatureTrees do still have the flag=flase I think). But we could update this and start using with the last update script.

#2 Updated by Andreas Müller 3 months ago

So, if the flag is switched on, the tree should be ordered by tree order, otherwise alphabetically (or by any other configurable order)

#3 Updated by Patrick Plitzner 3 months ago

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

#4 Updated by Patrick Plitzner 3 months ago

  • Assignee changed from Patrick Plitzner to Andreas Müller

#5 Updated by Andreas Müller 3 months ago

#6 Updated by Andreas Müller 3 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Patrick Plitzner

As Term nodes should be not always ordered anymore (TermCollection.orderRelevant flag) we could implement this already here by choosing either the old or the new method depending on the state of the TermCollection.orderRelevant flag. This is a first step implementation of issue 2 in #8474.

Also we may want to show the flag in TermTree details view but disabled for editing.

In general this belongs to #8474 but the ordering is very closely related to this ticket therefore I mentioned it here and wonder if we couldn't implement it here already.

#7 Updated by Andreas Müller 3 months ago

In general the ordering seems to work now.

#8 Updated by Patrick Plitzner 3 months ago

  • Status changed from Feedback to Closed

I would rather close this tickets because it was created only to handle the bug. All other issues will be adressed in #8474

#9 Updated by Patrick Plitzner 3 months ago

  • % Done changed from 50 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)