{#- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -#}
{% if c.help_modal %}
{{ g.icons['help'].render(extra_css='btn search_help_modal', show_title=True) }}
{% endif %}
{% if not hide_app_project_switcher %}
{% set search_project = request.GET['project'] == '1' %}
{% endif %}
{% if not search_comments_disable %} {% set comments = request.GET['search_comments'] %} {% endif %} {% if not search_history_disable %} {% endif %}
 
{% if search_error %}
{{ search_error }}
{% endif %}
{{widget.fields['page_list'].display(limit=limit, page=page, count=count)}}
{% for doc in results %}

{% if doc.title_match %} {{ doc.title_match }} {% else %} {{ h.get_first(doc, 'title') or h.get_first(doc, 'title_s') -}} {#- title_s is legacy -#} {% endif %} {% if doc['type_s'] %}{{ '(%s)' % doc['type_s'] }}{% endif %}
{% if doc.text_match %} {{ doc.text_match }}
{% endif %} Last updated: {{ h.ago_string(doc['mod_date_dt']) }}

{% endfor %}
{{widget.fields['page_list'].display(limit=limit, page=page, count=count)}} {{widget.fields['page_size'].display(limit=limit, count=count)}}

Sort by relevance or date

{% if c.help_modal %}{{ c.help_modal.display() }}{% endif %}