How to sort a query/table?

Support MB Views How to sort a query/table?Resolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29962
    ViktorViktor
    Participant

    Hi,
    I am building a table of prices for a CPT where each price is a custom field (one for each retailer). I want to sort them in an ascending order and only show the top 5 prices.

    How can I do this in MB Views and is there a better approach all together?

    Many thanks

    #29972
    ViktorViktor
    Participant

    I managed to use clonable groups and the sort method of twig as in here: https://stackoverflow.com/a/57934908/7132379

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.