mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 17:31:43 +00:00
fix: agregada la fecha de creacion del post para seleccionar posts por título si están duplicados #14179
This commit is contained in:
parent
c09dfc3b67
commit
134d1105f6
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class MetadataRelatedPosts < MetadataArray
|
|||
end
|
||||
|
||||
def title(post)
|
||||
"#{post&.title&.value || post&.slug&.value} (#{post.layout.humanized_name})"
|
||||
"#{post&.title&.value || post&.slug&.value} #{post&.date&.values.trftime('%F')} (#{post.layout.humanized_name})"
|
||||
end
|
||||
|
||||
# Encuentra el filtro
|
||||
|
|
Loading…
Reference in a new issue