Order by meta value

Forums › Forums › General › Order by meta value

  • This topic has 6 replies, 2 voices, and was last updated 9 years ago by Anonymous.
Viewing 7 posts – 1 through 7 (of 7 total)
  • Anonymous
    #132277

    Hello,

    I’m using Search and Filter Pro with Advance Custom Fields Plugin. It works really great, but the post order is kind of offset. I’ve set the default order as Meta Value. It sorts well (when I set it up as Alphanumeric), but when I set it up to numerical, the order is bad especially when i have 2 values for that meta.

    Can you take a look? https://fnt.ro/2017/en/schedule/ The order is by the post’s date from the excerpt As you can see after ‘Vaille Que Vivre (Barbara) – To Live Somehow (Barbara)’ the order is twisted.

    Thank you

    Trevor
    #132323

    Sorting never works well when you have more than one value in a field. Which value should it use? Should it add the values together?

    Anonymous
    #132448
    This reply has been marked as private.
    Trevor
    #132478
    This reply has been marked as private.
    Anonymous
    #132512
    This reply has been marked as private.
    Trevor
    #132558
    This reply has been marked as private.
    Anonymous
    #133013
    This reply has been marked as private.
Viewing 7 posts – 1 through 7 (of 7 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.