Jump to content

Advanced Search - Multiple Choice Problem


www.HDsports.at

Recommended Posts

Hey, i have a problem with advanced search and multiple choice fields

when i select in the advanced search in an multiple choice field 2 values, than the search shows my only results with listings, which have both values. But what can i do, that the search shows my every listing, which have also one of these 2 values.

in the configurations Search settings i see this opinion:

  • Allow searches on more than one option for single select and radiobutton fields: Allows searches that match several options for single select and radiobuttons. For example: if you have a multiple select field with all the states in the US, the user will be able to choose several of the states instead of just one if this setting is disabled

But it doesnt matter if i select yes or no. in the advanced search on my site (https://www.hdsports.at/suchen) there is always "Search ALL selected options". i looked at the jreviews demo, and i also see in all multiple choise options, that the search results show only listings, which have all the selected options. for example: Restaurant and in cuisine i select all options. so the result is no listing.

i saved a link which show me in the past (i think 1 year ago) results:

https://www.hdsports.at/suchen/search-results?order=jr_datum2019&query=any&criteria=1&jr_sportart=laufen&jr_datum2019=higher_date_2019-01-01&jr_land=agypten_andorra_antarktis_algerien_argentienien_australien_barbados_belgien_brasilien_chile_china_costa-rica_danemark_dominica_estland_faroer_insel_finnland_frankreich_griechenland_grosbritannien_indien_irland_island_israel_italien_jamaika_japan_jordanien_kambodscha_kamerun_kanada_kasachstan_kenia_kolumbien_kroatien_kuba_lettland_liechtenstein_litauen_luxemburg_madagaskar_malta_maurokko_mauritius_mazedonien_mongolei_montenegro_myanmar_namibia_nepal_neuseeland_niederlande_nigeria_norwegen_peru_polen_portugal_puerto-rico_rumanien_russland_schweden_serbien_seychellen_singapur_slowakei_slowenien_spanien_sudafrika_sudkorea_tansania_thailand_tschad_tschechische-republik_turkei_ungarn_usa_vereinigte-arabische-emirate_vietnam_wales_westsahara_zypern&jr_streckenart=halbmarathon

but now there are no results. but normally there should be results, when query=any?

it's the same on jreviews demo. it makes no different, if i use query=any or query=all, it shows me no results, when i use all mc-fields. for example here:

https://demo.jreviews.com/search/search-results?order=distance&criteria=3&query=all&jr_cuisine=american-new_american-traditional_caribbean_chinese_french_italian_japanese_latin-american_mediterranean_mexican_sandwiches

Do i anything wrong or maybe is this a bug?

Best regards, Tom

 

PS: i can only solve that with manual adapting the url (&usematch=1)

Edited by www.HDsports.at
Link to comment
  • 9 months later...
×
×
  • Create New...