Forums Forums Search & Filter Pro "meta" filtering problem

Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Ross Moderator
    #26645

    If you check in a post meta field, choose the “choice” tab, and choose “auto suggest” – do you see the kind of values you are expecting?

    Range sliders are always added with an AND operator.

    As you can see in the description of the operators – this setting is defined as working only on taxonomy fields, and post meta (choice) field types.

    Let me know

    Thanks

    Anonymous
    #26662

    -i’ve made a selection of variables from 1 to 5

    When i select all : it doesn’t affect the search
    when i select zero for ratings and a field, it return also post with rating for 4 to 5

    ?sfid=140&_sfm_mr_rating_results=0&_sft_pieces=classic

    With this one

    ?sfid=140&_sfm_mr_rating_results=5&_sft_pieces=biocnicles&_sft_catalogue=angulaire

    it should return only two results, but it returns all. the “all ratings” seem to overide, as a OR operator

    Anonymous
    #27009

    i could change for a more compatible rating plugin, but the 3 others i’ve tried don’t have meta (or i cannot see it it S&F)

    Ross Moderator
    #27197

    Hey there

    Ok, so I think I may have figured out logically what might be going wrong. Tell me if this sounds right to you:

    – So you are using a ratings plugin.
    – This plugin allows ratings to be left by users (frontend)

    If this is the case, then likely it is storing all the ratings in the meta key.

    This means S&F is finding ANY of the ratings associated with that post (sounds like the OR behavior your describe above).

    In this case what you want to do is create a new custom field/post meta, which takes an average of all those ratings and stored it in a new field called somethinh like “overall rating”

    S&F will only support a single value for a post meta meta field – so you must find a way to store the total rating left by users into a single field – and then you can use this with S&F.

    Thanks

    Anonymous
    #27206

    thanks. Seeing the anwsers, you seem totally right althought there should be a unique value for each post. I will let you know

Viewing 5 posts - 1 through 5 (of 5 total)