Skip to content

Change columns order in the Custom Tabular Exporter doesn't work #4271

@iomicifikko

Description

@iomicifikko

To Reproduce

Steps to reproduce the behavior:

  1. First select "Custom tabular exporter" in Export menu
  2. Then, in the first tab "Content", change columns order using drag n drop
  3. Finally, in the second tab "Download", click on "Download" button without changing any other option.

Current Results

  1. The output file contains the original columns order.
  2. Looking at the "Option Code" after drag and drop, no change is apply.

Expected Behavior

  1. The JSON code inside the "Option Code" tab must be updated in real-time when user changes columns order in the first tab.
  2. The output file must contains columns in the right order.

Screenshots

Column "number" moved to 2nd and last position
image
No change inside the JSON code
image

Versions

  • Operating System: Windows 10
  • Browser Version: Chrome 95.0.4638.69 (Official Build) (64 bit)
  • JRE or JDK Version: Built-in
  • OpenRefine: 3.4.1

Datasets

Additional context

Same thing happens when you past and apply a JSON configuration with a different order of columns: actually the order does not change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugIssues related to software defects or unexpected behavior, which require resolution.export: templateAbout the custom templating exporter

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions