Skip to content

Commit

Permalink
Merge pull request #98 from gerosecurity/development
Browse files Browse the repository at this point in the history
Reverse Sort
  • Loading branch information
VGR6479 authored Jul 8, 2024
2 parents 6a592f6 + 6e6c20c commit ca9835a
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div id="col1" class="col-sm">
<div class="col-header">Need to Review ({{ total_unreviewed }})</div>
<div class="scroll-div">
{% for report in bugposts|dictsortreversed:"report_datetime" %}
{% for report in bugposts|dictsort:"report_datetime" %}
{% if report.report_status == 1 and report.report_attack != '' %}
<a href="{% url 'report_detail' report.pk %}" style="text-decoration:none">
<div class="card">
Expand Down Expand Up @@ -35,7 +35,7 @@
<div id="col2" class="col-sm">
<div class="col-header">In Review ({{ total_inreview }})</div>
<div class="scroll-div">
{% for report in bugposts|dictsortreversed:"report_datetime" %}
{% for report in bugposts|dictsort:"report_datetime" %}
{% if report.report_status == 2 and report.report_attack != '' %}
<a href="{% url 'report_detail' report.pk %}" style="text-decoration:none">
<div class="card">
Expand Down Expand Up @@ -65,7 +65,7 @@
<div id="col3" class="col-sm">
<div class="col-header">Fixing ({{ total_fixing }})</div>
<div class="scroll-div">
{% for report in bugposts|dictsortreversed:"report_datetime" %}
{% for report in bugposts|dictsort:"report_datetime" %}
{% if report.report_status == 3 and report.report_attack != '' %}
<a href="{% url 'report_detail' report.pk %}" style="text-decoration:none">
<div class="card">
Expand Down Expand Up @@ -94,7 +94,7 @@
<div id="col4" class="col-sm">
<div class="col-header">Retest ({{ total_retest }})</div>
<div class="scroll-div">
{% for report in bugposts|dictsortreversed:"report_datetime" %}
{% for report in bugposts|dictsort:"report_datetime" %}
{% if report.report_status == 4 and report.report_attack != '' %}
<a href="{% url 'report_detail' report.pk %}" style="text-decoration:none">
<div class="card">
Expand Down Expand Up @@ -123,7 +123,7 @@
<div id="col5" class="col-sm">
<div class="col-header">Bounty Preparation ({{ total_bounty }})</div>
<div class="scroll-div">
{% for report in bugposts|dictsortreversed:"report_datetime" %}
{% for report in bugposts|dictsort:"report_datetime" %}
{% if report.report_status == 5 and report.report_attack != '' or report.report_status == 6 and report.report_attack != '' %}
<a href="{% url 'report_detail' report.pk %}" style="text-decoration:none">
<div class="card">
Expand Down

0 comments on commit ca9835a

Please sign in to comment.