Advertisement:

Author Topic: Search query results problem  (Read 466 times)

crymatisticos

  • Newbie
  • *
  • Posts: 25
Search query results problem
« on: June 05, 2017, 01:58:47 pm »
Hi Everyone,

I've updated my osclass version to 3.7.3 and now I'm facing a problem with search queries don't give back results

but after trial and error found that when location is passed in the search query with codes it doesn't return result but when the location is passed as strings the search return results

this are the same search queries which doesn't return the same result

https://rawajnet.com/index.php?page=search&cookie-action-side=done&sOrder=dt_pub_date&iOrderType=desc&sCountry=DZ&sRegion=782629

but when I replace
sCountry=DZ   by sCountry=Algeria
and
sRegion=782629 by sRegion=Alger

where DZ is code country for Algeria
and 782629  is the coordinate for the city Alger

this request return results
https://rawajnet.com/index.php?page=search&cookie-action-side=done&sOrder=dt_pub_date&iOrderType=desc&sCountry=Algeria&sRegion=Alger

Hope developers fix this issue so Osclass support both type of parameters in search function

or how can I fix this issue so the search query get passed the correct parameters to return the right results

I've changed the theme from zara to pop to bender and I have the same issue so it's not related to theme
« Last Edit: June 05, 2017, 02:01:32 pm by crymatisticos »