From 8111726e61c523d4358d80283891e0e350d87020 Mon Sep 17 00:00:00 2001 From: Samuel Veiga Rangel Date: Thu, 23 Apr 2026 11:36:41 -0300 Subject: [PATCH 1/3] Deixa apenas ano no card de social production --- .../include/result_items/document/social_production.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/search/templates/search/include/result_items/document/social_production.html b/search/templates/search/include/result_items/document/social_production.html index e51c68bc..39054e94 100644 --- a/search/templates/search/include/result_items/document/social_production.html +++ b/search/templates/search/include/result_items/document/social_production.html @@ -38,14 +38,13 @@

{{ display_title }} {% endif %}

- - {% if doc.source.organization or doc.source.start_date %} + {% if doc.source.organization or doc.source.start_date_year %}

{% if doc.source.organization %} {% for org in doc.source.organization %}{{ org }}{% if not forloop.last %}, {% endif %}{% endfor %} {% endif %} - {% if doc.source.start_date %} - {% trans "Registro" %} {{ doc.source.start_date|format_date_br }} + {% if doc.source.start_date_year %} + {% trans "Registro" %}: {{ doc.source.start_date_year }} {% endif %}

{% endif %} From 7317de112a9d5539697364ea730bfe8531a6b542 Mon Sep 17 00:00:00 2001 From: Samuel Veiga Rangel Date: Thu, 23 Apr 2026 11:37:12 -0300 Subject: [PATCH 2/3] Remove truncatewords em description --- .../search/include/result_items/document/social_production.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/templates/search/include/result_items/document/social_production.html b/search/templates/search/include/result_items/document/social_production.html index 39054e94..1c29cc5d 100644 --- a/search/templates/search/include/result_items/document/social_production.html +++ b/search/templates/search/include/result_items/document/social_production.html @@ -68,7 +68,7 @@

{% if display_description %}
- {{ display_description|truncatewords:50 }} + {{ display_description }}
{% endif %} From 901fe929a935e2e89b755eebe46b8a2d25f8ea4a Mon Sep 17 00:00:00 2001 From: Samuel Veiga Rangel Date: Thu, 23 Apr 2026 11:42:34 -0300 Subject: [PATCH 3/3] remove directory_type em card header --- .../result_items/document/social_production.html | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/search/templates/search/include/result_items/document/social_production.html b/search/templates/search/include/result_items/document/social_production.html index 1c29cc5d..0ff2b0a8 100644 --- a/search/templates/search/include/result_items/document/social_production.html +++ b/search/templates/search/include/result_items/document/social_production.html @@ -8,19 +8,16 @@
{% if result_number %} - {{ result_number }}. + {{ result_number }}. {% endif %} {% if doc.source.action %} - {{ doc.source.action }} - {% endif %} - {% if doc.source.directory_type %} - {{ doc.source.directory_type }} + {{ doc.source.action }} {% endif %} {% if doc.source.practice %} - {{ doc.source.practice }} + {{ doc.source.practice }} {% endif %} {% if doc.source.classification %} - {{ doc.source.classification }} + {{ doc.source.classification }} {% endif %}