mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
feat: bump max source count to 15
This commit is contained in:
parent
922f2db583
commit
62a2f13bb6
3 changed files with 3 additions and 3 deletions
|
@ -937,7 +937,7 @@ defmodule Philomena.Images do
|
||||||
(source.sources ++ target.sources)
|
(source.sources ++ target.sources)
|
||||||
|> Enum.map(fn s -> %Source{image_id: target.id, source: s.source} end)
|
|> Enum.map(fn s -> %Source{image_id: target.id, source: s.source} end)
|
||||||
|> Enum.uniq()
|
|> Enum.uniq()
|
||||||
|> Enum.take(10)
|
|> Enum.take(15)
|
||||||
|
|
||||||
target
|
target
|
||||||
|> Image.sources_changeset(sources)
|
|> Image.sources_changeset(sources)
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
p
|
p
|
||||||
'The page(s) you found this image on. Images may have a maximum of
|
'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.
|
' 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 ->
|
= inputs_for f, :sources, [as: "image[old_sources]", skip_hidden: true], fn fs ->
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
h4 About this image
|
h4 About this image
|
||||||
p
|
p
|
||||||
'The page(s) you found this image on. Images may have a maximum of
|
'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.
|
' source URLs. Leave any sources you don't want to use blank.
|
||||||
|
|
||||||
= inputs_for f, :sources, fn fs ->
|
= inputs_for f, :sources, fn fs ->
|
||||||
|
|
Loading…
Reference in a new issue