Skip to content

Commit ce4e46a

Browse files
committed
Display the filter breadcrumb in the project list #1437
Signed-off-by: tdruez <[email protected]>
1 parent 1691bd1 commit ce4e46a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/faq.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ For example, to create multiple projects from files in a directory named
122122

123123
$ docker compose run --rm \
124124
--volume local-data/:/input-data:ro \
125-
web scanpipe batch-create input-data/
125+
web scanpipe batch-create /input-data
126126

127127
**Options**:
128128

scanpipe/templates/scanpipe/project_list.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@
2424
{% include 'scanpipe/includes/breadcrumb.html' %}
2525
{{ filter.form.is_archived }}
2626
{% if filter.is_active %}
27-
<a class="is-grey-link" href="{% url 'project_list' %}">
27+
{{ paginator.count|intcomma }} results
28+
<a class="is-grey-link ml-2" href="{% url 'project_list' %}">
2829
<i class="fa-solid fa-times"></i> Clear search and filters
2930
</a>
3031
{% endif %}
32+
{% include 'scanpipe/includes/filters_breadcrumb.html' with filterset=filter only %}
3133
</div>
3234
<div class="has-text-right">
3335
<a href="{% url 'project_add' %}" class="button is-smaller is-link">New Project</a>

0 commit comments

Comments
 (0)