Custom field for recipe ingredients in Contentful by Martin Schön

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ม.ค. 2025

ความคิดเห็น • 2

  • @CHRiZZ943
    @CHRiZZ943 2 ปีที่แล้ว +1

    Hey, I have a question.
    The matrix stores the id of an ingredient and the amount which means in order to get the title of the ingredient I have to fetch all ingredients that match content_type: 'ingredient', 'sys.id[in]': 'id1,id2,id3' right?, If I do that the order of my ingredients is messed up because the results are default ordered by publication timestamp. How did you solve this?, is there a way to fetch the data in the query order(id1, id2, id3) or did you just sort the ingredients after the fetch?, thanks chris

  • @carlosl-f2433
    @carlosl-f2433 2 ปีที่แล้ว

    brother gone are the days when bragging about being in a news organisation was cool....just look at the media right now ...all of them....anyway great video and help. appreciated.