Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cweberDC

    (@cweberdc)

    I sent an email explaining my fix for this as well posting this here:

    what I did is in your function protected function sql() down where you have
    “order by score”
    I changed it to

    ” order by score, post_date desc limit $limit”
    I noticed that you perform the sql and just order by score which doesn’t order by date as well. So with a lower limit like 8 some of the newest posts may not be in that query that is returned. with sorting by date as well it returns the most current posts.

    This was my understanding of order by (new to old).

    Thread Starter cweberDC

    (@cweberdc)

    To add to this I enabled the option “Show only posts from the past” and set it to 12 months and it pulled in the newest ones but also pulled in posts from other categories.

    I would like the current category to be the priority but also pull in the newest posts that have just been created for that category

Viewing 2 replies - 1 through 2 (of 2 total)