+ Reply to Thread
Results 1 to 4 of 4

Thread: Don't have Featured listings always on top from search results ?

  1. #1

    Question Don't have Featured listings always on top from search results ?

    Hello,

    I have noticed that the featured listings are always on top from the search results.
    When a user launch a new search, I'm ok the the Featured listings are on top of the list, this is good.

    But, when the users want to "Sort" by "Price, Date,...", the featured should not stay on top, because then the sorting is wrong.

    Is there an option available to solve this already and I've missed it?

    Or should we discuss about custom work?

    Thx

  2. #2
    You may try following trick to make it working as you need, changes is not good but it should do the job without remaking function:

    open includes/classes/rlSearch.class.php

    find function search

    find code.
    PHP Code:
    Only registered members can view the code
    to
    PHP Code:
    Only registered members can view the code
    same changes you may apply to rlListings>function getListings

  3. #3
    Hello,
    I have made the changes in the includes/classes/rlSearch.class.php
    Looks ok for now.

    I didn't change the 2nd one, rlListings>function getListings, should I also change it? Is it better?

  4. #4
    For the results of a "search", it is ok.

    But when I go into one category, the sorting is still featured on top.
    What should I change?

    Could you check exactly what need to be changed in the rlListings.class.php file, because if I put in the code you gave or not, it makes no differences.

    Thx

+ Reply to Thread