Forums Forums Search & Filter Pro Post type checkbox: multiple selections does not work

Viewing 10 posts - 1 through 10 (of 20 total)
  • Anonymous
    #208835

    Hi, I have just purchased the plugin and I am creating my first search form

    Just to start I am trying with Post Type, input type Checkbox

    This is my search page: https://fabuportal.com/buscador/

    By default both checkbox are blank, so it should retrieve nothing, as I have not chosen any post type – despite this it retrieves 53 results

    I mark the first post type, click submit, and I get 7 results (https://fabuportal.com/buscador?post_types=ecurso), this looks fine

    I unmark the first post type, mark the second post type, click submit, and I get 46 results (https://fabuportal.com/buscador?post_types=event), this looks fine

    I now mark both post types, click submit (https://fabuportal.com/buscador?post_types=ecurso,event) and I get “No results found”
    This does not make sense to me, as it is in this case where I should see the 53 results

    Thank you in advance for your comments,
    Lola

    Trevor
    #208915

    My apologies for the delay in replying. In the UK we have had a long 4 day national holiday weekend this last weekend.

    On any normal field control, when NO selection has been made, ALL posts will be returned, as you have not yet filtered the form (there are coding ways around this, by detecting if any filters have been selected, and if not, do not display any results).

    In the second question, you have the Post Type control is set to an AND search relationship, but it would need to be set to ‘OR’ to do as you want, but that is not an option for this special field. You would need to have the ‘type’ set as a custom taxonomy instead, and use that to select from.

    Anonymous
    #209021
    This reply has been marked as private.
    Trevor
    #209072
    This reply has been marked as private.
    Trevor
    #209140
    This reply has been marked as private.
    Anonymous
    #209288
    This reply has been marked as private.
    Trevor
    #209373
    This reply has been marked as private.
    Trevor
    #209407
    This reply has been marked as private.
    Anonymous
    #209450
    This reply has been marked as private.
    Trevor
    #209532

    I could not find what the issue was, so I deactivated your plugins, and then reactivated them one at a time. Now it seems to work?

Viewing 10 posts - 1 through 10 (of 20 total)