feat: bump max source count to 15

This commit is contained in:
mdashlw 2024-06-10 17:30:51 +03:00
parent 922f2db583
commit 62a2f13bb6
No known key found for this signature in database
GPG key ID: 0887AF18569DED32
3 changed files with 3 additions and 3 deletions

View file

@ -937,7 +937,7 @@ defmodule Philomena.Images do
(source.sources ++ target.sources)
|> Enum.map(fn s -> %Source{image_id: target.id, source: s.source} end)
|> Enum.uniq()
|> Enum.take(10)
|> Enum.take(15)
target
|> Image.sources_changeset(sources)

View file

@ -8,7 +8,7 @@
p
'The page(s) you found this image on. Images may have a maximum of
span.js-max-source-count> 10
span.js-max-source-count> 15
' source URLs. Leave any sources you don't want to use blank.
= inputs_for f, :sources, [as: "image[old_sources]", skip_hidden: true], fn fs ->

View file

@ -40,7 +40,7 @@
h4 About this image
p
'The page(s) you found this image on. Images may have a maximum of
span.js-max-source-count> 10
span.js-max-source-count> 15
' source URLs. Leave any sources you don't want to use blank.
= inputs_for f, :sources, fn fs ->