mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
wilson
This commit is contained in:
parent
8dae60de92
commit
904bada39e
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ defmodule PhilomenaWeb.ActivityController do
|
|||
ImageLoader.query(
|
||||
conn,
|
||||
%{range: %{first_seen_at: %{gt: "now-3d"}}},
|
||||
sorts: [%{score: :desc}, %{first_seen_at: :desc}],
|
||||
sorts: [%{wilson_score: :desc}, %{first_seen_at: :desc}],
|
||||
pagination: %{page_number: :rand.uniform(6), page_size: 4}
|
||||
)
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
' Issues? Want to chat?
|
||||
a href="/pages/contact" Contact us!
|
||||
.block.hide-mobile
|
||||
a.block__header--single-item.center href="/search?q=first_seen_at.gt:3 days ago&sf=score&sd=desc"
|
||||
a.block__header--single-item.center href="/search?q=first_seen_at.gt:3 days ago&sf=wilson_score&sd=desc"
|
||||
' Trending Images
|
||||
.block__content.flex.flex--centered.flex--wrap.image-flex-grid
|
||||
= for image <- @top_scoring do
|
||||
|
|
Loading…
Reference in a new issue