Feature #3384
Import, text-order column name parameter
Statut: | New | Début: | 11/05/2023 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 0% |
|
Catégorie: | Import | Temps passé: | - | |
Version cible: | 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.