+ Reply to Thread
Results 1 to 6 of 6

Thread: Pagination page ?

  1. #1
    Senior Member
    Join Date
    Aug 2014
    Posts
    163

    Pagination page ?

    How does the page count work? We have more pages than listings... 20 times more even :s

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

    I've fixed it on your end

  3. #3
    Senior Member
    Join Date
    Aug 2014
    Posts
    163
    Hi Rudi, thank you

  4. #4
    Hi Rudi,

    Would you kindly share the fix here? I just recently update to 4.8.1 and I have this problem as well. Basically I have 50 pages of ads in housing type, 5 pages in cars. But for some reasons all listing type pages show only 8 page, exactly 8 pages regardless of listing type.
    Only applying an option in filter boxes like, sub category, will show actual pages

    Also multifield location in filterbox also show 8 pages even there is only 1 ads.

    This only happened on listing type page. On category page, search result page it has no problem
    Last edited by Wei Hong; March 9, 2021 at 09:34 AM.

  5. #5
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello Wei,

    ok,

    in classes > rlListings.class.php move the following line:

    PHP Code:
    Only registered members can view the code

    in public function getListings

    after:
    PHP Code:
    Only registered members can view the code

    in public function getListingsByAccount

    after:
    PHP Code:
    Only registered members can view the code

    in public function getRecentlyAdded

    after:
    PHP Code:
    Only registered members can view the code

    in public function getRecentlyAdded

    after:
    PHP Code:
    Only registered members can view the code

  6. #6
    Thank you so much Rudi, I confirm that this fixes the issue. Just to be sure

    Quote Originally Posted by Rudi View Post

    in public function getRecentlyAdded <--- I think you meant public function getMyFavorite, because I could not find the code below under public function getRecentlyAdded

    after:
    PHP Code:
    Only registered members can view the code
    The code above appears 3 times in public function getListingsByAccount, public function getMyListings, and public function getMyFavorite
    Last edited by Wei Hong; March 9, 2021 at 01:01 PM.

+ Reply to Thread