{% trans_default_domain "Academia" %} {# Show the header only in the first page. Prevent duplicated it in each page we get through ajax request. #} {% set page = actualParameters.page %} {% if page == 1 %} {% endif %}
{% if matchedResearches is not empty %} {% for research in matchedResearches %}

{{ research.arabicTitle|kuh }}

{{ research.hits }}    {% set stringOfNames = research.contributers|join(',')%} {% set arrayOfNames = research.contributers %} {% for key, name in arrayOfNames %} {{ arrayOfNames[key] }} {% if arrayOfNames[key] != arrayOfNames|last %} ،  {% endif %} {% endfor %}  -  نشر في: {% if research.arabicPublisher is not empty %} {{ research.arabicPublisher }} -  {% elseif research.englishPublisher is not empty %} {{ research.englishPublisher }} -  {% endif %} بتاريخ: {{ research.publicationDate|date("Y") }}   ({{ research.arabicCategory }})

{% if research.highlight is defined %} {% set description = "" %} {% for content in research.highlight.content|slice(0, 3) %} {% set description = (description ~ content ~ ' ... ') %} {% endfor %} {% set description = description|replace({'': "" , '': ""}) %} {{ description| raw}} {% else %} {{ research.arabicAbstract|textKuh(70) }} {% endif %}

{#{% set resTags = research._source.tags|trim(',')|split(',') %}#} {#{% set resTagSlug = research._source.tagSlug|trim(',')|split(',') %}#} {% for key, tag in research.tags %} {{ tag }}    {% endfor %}


{% endfor %} {% else %} {# NO matched researches, i.e. NO RESULT #}

{{ 'show.notFound.researches'|trans }}

{% endif %}