Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove 'ai composition' tagged images from showing up in Trending images #294

Merged
merged 2 commits into from
Dec 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/philomena_web/controllers/activity_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ defmodule PhilomenaWeb.ActivityController do
range: %{first_seen_at: %{gt: "now-3d"}}
},
must_not: [
%{terms: %{tag_ids: [589_483]}}
%{terms: %{tag_ids: [589_483, 749_983]}}
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion lib/philomena_web/templates/activity/index.html.slime
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,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, -ai generated&sf=wilson_score&sd=desc"
a.block__header--single-item.center href="/search?q=first_seen_at.gt:3 days ago, -ai generated, -ai composition&sf=wilson_score&sd=desc"
' Trending Images
.block__content.flex.flex--centered.flex--wrap.image-flex-grid
= for image <- @top_scoring do
Expand Down
Loading