Featured item workaround

This is a comment for anyone else looking to replicate the “Featured item” checkbox from Omeka Classic in Omeka S. Adding the Featured property from the Curation vocabulary (this can be made private if needed) will allow a certain item to be featured. In a Browse Preview block, change the Search query to:
sort_by=curation:featured&sort_order=desc

I entered “y” into the Featured property field for my featured item, but this will sort items with any text in that property, then sort the rest of the items based on the default, date created. Any other property should work as long as the search query grabs the vocabulary and property. This took me a bit of trial and error because I couldn’t find a resource that lays out the syntax of the search query. Hopefully it helps someone else.

1 Like

That’s a clever solution.

One other that you might consider would be making a Featured item set and searching that way.

I did try something like that, but it didn’t seem to work in the way that I hoped. For instance, searching in the Browse Preview block for more than one item set (eg “Item Set 1” AND “Item Set 2”) did not sort those items according to the item set. They all just show up on the page according to the default sort order. I hoped that Item Set 1 would show up first. Open to suggestions if there is another way to approach this.

Hmm yeah if you really want to sort then item sets probably won’t work well for that, good point. I was more thinking of a situation where you wanted to only show the featured items.