Feature #3384
Import, text-order column name parameter
Status: | New | Start date: | 05/11/2023 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% |
|
Category: | Import | Spent time: | - | |
Target version: | TXM 0.8.4 |
Description
Currently TXM uses the 'text-order' column to sort the texts of a corpus, if present (otherwise file name order).
This forces the metadata table to contain this column when the information may already be available in a column with another name.
To avoid duplication, we can set the name of the column to be used for sorting.
Solution¶
Add a new import parameter in a new "Metadata" section : "text order column name", default value = "text-order"
Solution 2¶
Allow a list of column names in the parameter value (separated by comma): the values are concatenated to form the value to sort.