I have a list of news articles currently ordered by published date. I want to introduce a way of promoting an article to the top of the list for a few days.
I have created a new checkbox metadata field called “Promote”.
I want to change the sort order to metadata “Promote” first, then “published date” second.
If I change the default sorting order to “Promote” it just seems to randomize the results.
Any help getting this fixed would be hugely appreciated.
Rather than using a metadata sort field, you can create a ‘Sorting by Asset Keyword Value’ option to sort by two keywords at once using keyword replacements, something like:
I would just create two asset listings. The first would have a root node looking at the “promoted” folder. The second asset listing would look at all the assets, and exclude the “promoted” root node. Then nest both of these asset listings into a page.
When you want to promote an asset, just link it into the promoted folder. Then remove when you don’t want it promoted.
Hi Steven, try printing out the keyword that you’re sorting by as part of the list item in the Default Format - you can easier see if it’s doing what you’re after.
Alternatively, you could use Asset Grouping to list the promoted ones first. Group by keyword or metadata field (I usually use keyword since it’s easier to update if you want to change how it functions later on, rather than deleting and adding a different grouping).