use pagesize not page_size, and pass it in based on job extras, also use path based on job extras, so we fix issue of fix_dups not knowing which path from settings was used (import or storage)
This commit is contained in:
@@ -10,12 +10,12 @@
|
||||
<form class="d-flex justify-content-center form-inline">
|
||||
<h5>
|
||||
<div class="form-group">
|
||||
<label for="page_size">{{overall_dup_sets}} sets/dirs of files
|
||||
<label for="pagesize">{{overall_dup_sets}} sets/dirs of files
|
||||
containing {{overall_dup_cnt}} files -- Showing </label>
|
||||
<select class="form form-control" name="page_size">
|
||||
<select class="form form-control" name="pagesize">
|
||||
{% for o in "5", "10", "20", "50" %}
|
||||
<option
|
||||
{% if o|int == page_size %}
|
||||
{% if o|int == pagesize %}
|
||||
selected
|
||||
{% endif %}
|
||||
>{{o}}</option>
|
||||
@@ -53,12 +53,12 @@
|
||||
{% endfor %}
|
||||
</div class="col-lg-12">
|
||||
{% set page.cnt = page.cnt + 1 %}
|
||||
{% if page.cnt == page_size %}
|
||||
{% if page.cnt == pagesize %}
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if page.cnt < page_size %}
|
||||
{% if page.cnt < pagesize %}
|
||||
<h5 class="mt-3">Choose path to KEEP (same file names in 2 different directories):</h5>
|
||||
{% for dup in per_path_dups %}
|
||||
<div class="col-lg-12 py-2">
|
||||
@@ -73,7 +73,7 @@
|
||||
</script>
|
||||
</div>
|
||||
{% set page.cnt = page.cnt + 1 %}
|
||||
{% if page.cnt == page_size %}
|
||||
{% if page.cnt == pagesize %}
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user