bcgov / MFIN-Data-Catalogue

The Finance Data Catalogue enables users to discover data holdings at the BC Ministry of Finance and offers information and functionality that benefits consumers of data for business purposes. The product is built using Drupal and adheres to the Government of BC's Core Metadata Standard.
Other
6 stars 0 forks source link

Reorder columns in sample data column import file #408

Closed ChristaBull closed 2 months ago

ChristaBull commented 3 months ago

OP timer

https://openplus.monday.com/boards/4092908516/pulses/6379034553


User story

As a metadata record editor/creator I want the columns in the sample file for data columns to be arranged in the same order as the screen so it's easier to understand.

Describe the idea

Update the sample file so that the order in the CSV matches the order each field is shown when editing directly in Section 6.

image

Currently the fields in the sample CSV file are ordered in a strange order that makes it hard to enter (e.g. the first thing I want to identify is the name of the column I'm describing) and compare to the edit column screen.

CraigClark commented 3 months ago

@lkmorlan This is a reasonable request. Right now, the sample download file and the current data file have the columns in alphabetical order. I imagine this is what the module does by default. Is it feasible to have the downloaded file columns to be in the same order of whatever is set on the paragraph?

@NicoledeGreef The other option would be to order the columns alphabetically on the form. I'm not sure if that makes sense.

lkmorlan commented 3 months ago

We can certainly do this. We may need to have a list in order in the code.

NicoledeGreef commented 3 months ago

@lkmorlan please proceed with the re-ordered sample file. Please ensure this works when users download the data dictionary from the node view as well.

NicoledeGreef commented 2 months ago

verified in dv14