Skip to content

Add sorting to the columns in the results table of a query #383

@valamercery

Description

@valamercery

Problem description / use case

In the Analysis tab of the Toolbox, when you run a query (table), the result is displayed in the form of a table with different columns.
The order of the rows appears to be that of the creation date of the instances of the query's main class. There is no possibility of changing this order. When there are significant results, the user has no choice but to export the table and use an external tool to explore and sort the data.
It would be very useful to be able to at least sort the rows by column using the value displayed, either alphabetically or numerically.

Functional Requirements

  • Add functionality for sorting the rows of the results table, in one order or the other.
  • This can be done by adding clickable arrows in the same way as the column sorting in OntoME. The current sort on a column can be represented by an arrow in bold, with the arrows for the other columns in light grey. The order can be indicated by a specific icon, as in OntoME.
  • The value used for sorting is the one displayed in the column, either an alphanumeric string or a numeric value.

Technical Specification

A clear and concise description of how the feature is implemented.

Acceptance criteria

Check that the sorting is carried out in both orders, whatever the column in the table.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions