test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • kalixo Friend
    #723081

    Dear All,
    I tried to change settings for

    Search Result Settings
    Menu ItemID
    Order By

    to get search results (or pre filtered content) ordered by “Most recent First”, “Last modified” or anything else – I always get content sorted “oldest first”.

    Could you please help with this?

    Luna Garden Moderator
    #723499

    Hi,

    In order to get result sort by Most recent First, go to backend >> Components >> JA K2 Filter >> Options >> tab Search Result Item Layout >> Item ordering >> Set to Most recent first. This setting will make all Result order by Most recent first.

    Plus, when checking your site, we see another error with Pagination cause the HTML markup in your site is different with our demo, we also fixed it for you. Here is detail:
    Go to file: modulesmod_jak2filterassetsjsjak2filter.js
    find for:

    if(!pages.length) {
    pages = container.find('.k2Pagination ul li a');
    }

    change to:

    if(!pages.length) {
    pages = container.find('.pagination ul li a');
    }

    Luna Garden Moderator
    #754054

    Hi,

    In order to get result sort by Most recent First, go to backend >> Components >> JA K2 Filter >> Options >> tab Search Result Item Layout >> Item ordering >> Set to Most recent first. This setting will make all Result order by Most recent first.

    Plus, when checking your site, we see another error with Pagination cause the HTML markup in your site is different with our demo, we also fixed it for you. Here is detail:
    Go to file: modulesmod_jak2filterassetsjsjak2filter.js
    find for:

    if(!pages.length) {
    pages = container.find('.k2Pagination ul li a');
    }

    change to:

    if(!pages.length) {
    pages = container.find('.pagination ul li a');
    }

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Luna Garden 9 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum