CSV and creation_date column

Hi,
I have just one question regarding the column creation_date. This column is part of the CSV file that was exported from Tainacan, and I find it very interesting because if I could edit it and re-import it, I could easily resolve the issue of sorting items in Tainacan. The problem is that when I try to import the edited CSV, it asks me to map that column but doesn’t give me any logical options. If I have the possibility to edit that column, it would be very useful (in fact, I can edit it in CSV, but is it going to be imported if it is not properly mapped?)

UPDATE (but connected): I asked long time ago about option to sort items by some atribute and you added in the next build an option to SORT BY TITLE (Collection items sorted by - PART III - #11 de mateus.m.luna). Now, I can’t find that option, is it moved somewhere else?

UPDATE 2 (still conected): I found some answer here (Ordenação por defeito nas coleções - #2 de rodrigo_freire). Is this the proper place now where I can define how items are going to be sorted and showed in frontend - to the visitor of our web. Before it was only the way to set default order in backend.

The option to select by which metadata the faceted search block will be sorted is only available for repository-level lists (Repository and Taxonomy Term Items), because they will only offer title and creation date. We couldn’t implement custom metadata selection there it is complicated. For collections, what you are looking for should be achievable via Collection settings, in the default order option.

I believe that PHP code in there should only really be necessary in case you were dealing with archives templates that do not belong use the Tainacan Items List component. Since you are using the faceted search block, it should work.

In fact it would be an interesting feature. Nowadays, despite the fact that we do export this data, we do not have an option to override it via importing. This is the same for other non-metadata information such as author. But I believe it should be possible do implement.

1 Like

Tnx Mateus for the reply, I’ll test is further and provide feedback (regarding default order). As far as CSV creation_date column, it really could be interesting feature, if implemented. But, your response was useful.