Support » Plugin: WP REST Filter » meta_compare and orderby

  • Hi,
    I’ve a number field in advanced custom field. When I query via filter
    &filter[meta_key]=posizione&filter[orderby]=meta_value_num&filter[order]=asc

    all it’s ok but when I try to order results:

    &filter[status]=publish&filter[meta_key]=posizione&filter[orderby]=meta_value_num&filter[order]=asc&filter[meta_compare]=<&filter[meta_value]=20

    all goes wrong.

    Any suggestion?

    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘meta_compare and orderby’ is closed to new replies.