• Hi there,

    I’ve just been working on a client site and upgraded them to the latest version of PODS as well as a number of other updates, including WP core.

    On one of the pages, I have a shortcode like this:

    [pods name=”members” limit=”20″ pagination=”true” pagination.type=”advanced” orderby=”last_name.meta_value, first_name.meta_value” where=”last_name.meta_value like ‘{@get.alpha}%'”]

    Previously, when you went to the page, it would show all the member results, and if you went to the page with ?alpha=F (for example) it would show only those members with the last name starting with F.

    The pages with the alpha= are working fine. However, when you first go to the page (the all page) is showing as blank – none of the entries appear.

    Thoughts?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Wow Digital

    (@dmpp)

    Works fine in 2.7.15, but going to 2.7.16.1 broke it – I just downgraded and upgraded version by version to test.

    Thread Starter Wow Digital

    (@dmpp)

    And, I’m not sure if this matters, but I have
    define('PODS_SHORTCODE_ALLOW_EVALUATE_TAGS',true);
    in the wp-config.php file

    Thread Starter Wow Digital

    (@dmpp)

    Anyone?

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hello @dmpp

    Sorry for my late reply, totally missed this topic.
    Could you add ?pods_debug_sql=1 to your page and let me know the output?
    I have a feeling that {@get.alpha} might return false now which could be converted to 0 and 0% would return no results.

    Cheers, Jory

    Plugin Author Jory Hogeveen

    (@keraweb)

    Closing topic due to no reply.

    Cheers, Jory

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issue with default search query’ is closed to new replies.