Sort by Keyword


(Nick Papadatos) #1

Matrix Version: 5.5

Hello
I’m having issues sorting asset by keyword on a search asset.
I have the following:
asset_metadata_pubdate_a^date_format:Y-m-d h:i:s^empty:{asset_metadata_pubdate_b^date_format:Y-m-d h:i:s}
number of asset to display => 4

This is returning these dates (assets) and in this order: 27 Jul 2022 should be last…
29 Jul 2022,
28 Jul 2022,
27 Jul 2022,
28 Jul 2022

Any ideas what I’m doing wrong?

Cheers
N


(Nick Papadatos) #2

Sorry, my mistake. :-[]

I just realised I had the wrong keyword in the search asset default format.