+ Reply to Thread
Results 1 to 5 of 5

Thread: 4.8.0 search-on-map bugs on the 1st TAB ONLY

  1. #1

    4.8.0 search-on-map bugs on the 1st TAB ONLY

    On search on map page, ONLY the 1st tab, These listing fields won't work: Radio, Text field like search by keywords.
    For example demo, radio field: ALL, NEW, USED give all results. Same thing if I add search by keyword text field:
    https://classifieds.demoflynax.com/s...ors_on_map_tab

    But on the second tabs, works fine, for example ALL, SALE, RENT here:
    https://classifieds.demoflynax.com/s...rty_on_map_tab
    Like mentioned above, only 1st tab does not work, other tabs works OK.

    Would you please fix this.

    Thank you

    EDITED: I take my word back, actually text field don't work on 2nd TAB as well, not only 1st TAB. I have company name field and add it on mysite, it doesn't work on 2nd TAB either.

    Also why can't I add checkbox field to search-on-map form? I used to be able to do it before
    Last edited by Wei Hong; December 22, 2019 at 07:04 AM.

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,162
    Hello,

    Go to templates > tpl > blocks > fields_search_horizontal.tpl > {elseif $field.Type == 'radio'}

    remove:
    Code:
    Only registered members can view the code.

  3. #3
    Quote Originally Posted by Rudi View Post
    Hello,

    Go to templates > tpl > blocks > fields_search_horizontal.tpl > {elseif $field.Type == 'radio'}

    remove:
    Code:
    Only registered members can view the code.
    Hi Rudi,

    I did removed it and test but it still not working. On my site the radio are gender: Male, Female, clicking on them then click search return all results. Same with search by keyword. Like they are not registered or sync.

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,162
    Also go to includes > classes > rlListings.class.php > public function getListingsByLatLng

    replace:
    PHP Code:
    Only registered members can view the code
    with:
    PHP Code:
    Only registered members can view the code

  5. #5
    [QUOTE=Rudi;28278]Also go to includes > classes > rlListings.class.php > public function getListingsByLatLng

    replace:
    PHP Code:
    Only registered members can view the code
    with:
    PHP Code:
    Only registered members can view the code
    /QUOTE]

    Dear Rudi,

    I confirm that this fixed the problem. Cheers

+ Reply to Thread