Code Monkey home page Code Monkey logo

Comments (5)

br41nslug avatar br41nslug commented on June 11, 2024

Can you elaborate on how you're exporting and with what settings.

Closing the issue for now since I have not been able to reproduce it using any of the following means:

  1. the export page as csv function
    image
    returning:
    "ID","M2O","Test","M2O -> Translations"
    1,1,"aaa","[{""id"":1,""test_b_id"":1,""title"":""enenenen"",""languages_id"":{""code"":""en-US""}},{""id"":2,""test_b_id"":1,""title"":""dededede"",""languages_id"":{""code"":""de-DE""}}]"
    2,1,"bbb","[{""id"":1,""test_b_id"":1,""title"":""enenenen"",""languages_id"":{""code"":""en-US""}},{""id"":2,""test_b_id"":1,""title"":""dededede"",""languages_id"":{""code"":""de-DE""}}]"
    
  2. using the export items feature
    image
    returning (without the latest field in the screenshot):
    "id","test","m2o.translations"
    1,"aaa","[1,2]"
    2,"bbb","[1,2]"
    
    or (from the screenshot)
    "id","test","m2o.translations"
    1,"aaa","[{""title"":""enenenen""},{""title"":""dededede""}]"
    2,"bbb","[{""title"":""enenenen""},{""title"":""dededede""}]"
    

from directus.

u12206050 avatar u12206050 commented on June 11, 2024

Could it be the display setting of the Translations field, ie, setting the display of the M2O field to Related Values and then selecting the translation field of the M2O table as the value to display. I do get it working if I in my example select event.event_translations as a column, but we would like the column to just be event.

Screenshot 2024-05-04 at 10 04 49

Screenshot 2024-05-04 at 10 07 43

from directus.

u12206050 avatar u12206050 commented on June 11, 2024

@br41nslug so could we reopen this or is it still unclear?

from directus.

br41nslug avatar br41nslug commented on June 11, 2024

I have not been able to reproduce it yet. Nor have i seen an answer to my question of how are you exporting considering there are multiple ways.

Will see if i can repro this specifically on mysql when i find some time.

from directus.

u12206050 avatar u12206050 commented on June 11, 2024

Sorry, I export it using the "Download page as CSV"

from directus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.