{% import "photo_card.html" as photo_card %} {% import "header.html" as header %} {% import "tag_object.html" as tag_object %} {% import "clipboard_tray.html" as clipboard_tray %} Search {% if theme %}{% endif %} {% macro prev_next_buttons() %} {% if prev_page_url or next_page_url %}
{% if prev_page_url %} Previous {% else %}
{% endif %} {% if next_page_url %} Next {% else %}
{% endif %}
{% endif %} {% endmacro %} {% macro create_orderby_li(selected_column, selected_sorter) %}
  • {% endmacro %} {{header.make_header(session=session)}}
    {% for warning in warnings %} {{warning}} {% endfor %}
    {% for tagtype in ["musts", "mays", "forbids"] %}
    Tag {{tagtype}}:
      {% set key="tag_" + tagtype %} {% if search_kwargs[key] %} {% for tagname in search_kwargs[key] %}
    • {{tagname}}{{-''-}}
    • {% endfor %} {% endif %}
    {% endfor %}
    Tag Expression:
    Order by
      {% if "orderby" in search_kwargs and search_kwargs["orderby"] %} {% for orderby in search_kwargs["orderby"] %} {% set column, sorter=orderby.split("-") %} {{ create_orderby_li(selected_column=column, selected_sorter=sorter) }} {% endfor %} {% else %} {{ create_orderby_li(selected_column=0, selected_sorter=0) }} {% endif %}

    Min-max values
    Other filters
    {% if total_tags %} Tags on this page (click to join query): {% endif %}
    {{clipboard_tray.clipboard_tray()}}