nl_05
03/13/2024, 7:49 AM{
"layout": {
"Umbraco.BlockList": [
{
"contentUdi": "umb://element/47c0834456e44346bb0f394f5e16538f"
}
]
},
"contentData": [
{
"contentTypeKey": "65605669-96b2-490b-a4c8-92d3e8bc7d0e",
"udi": "umb://element/47c0834456e44346bb0f394f5e16538f",
"date": "2024-03-01 12:00:00"
}
],
"settingsData": []
}
I wanted to use angularjs expression to get the first item on the block list which is the data
so I did this expression with the date format.
{{ value["contentData"][0]["date"] | momentDateTimeZone: 'yyyy-MM-DD' }}
The problem right now it doesnt sort the course dates based on sort type. It doesn't change at all.
Does anyone had this before ? how did you go for it to solve ?
https://cdn.discordapp.com/attachments/1217378950133846056/1217378950490095698/image.png?ex=6603cf7f&is=65f15a7f&hm=db56d458459bebfc6e414e83cbe1396afa5c18af50f2a336cd5caf9e5c792b30&
https://cdn.discordapp.com/attachments/1217378950133846056/1217378950788026430/image.png?ex=6603cf7f&is=65f15a7f&hm=3c0813a3dba1d58eb24ff1a1795ca51f2196b6ef6d1f4f2e562de4fcf7416385&
https://cdn.discordapp.com/attachments/1217378950133846056/1217378951073370202/image.png?ex=6603cf7f&is=65f15a7f&hm=ef6987fe19d7d1e939c93388f9298c62a8a1e0bc004069092100f31f06cc06f6&