Skip to content

Commit

Permalink
Merge branch 'hotfix/2.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Nov 15, 2023
2 parents a0a9424 + 6a2f308 commit e2f3746
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Controllers/Telemetry.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function view(Request $request, Response $response): Response
// retrieve nb of reference entries
$raw_nb_ref_entries = ReferenceModel::query()
->where(
'created_at',
'updated_at',
'>=',
DB::raw("NOW() - INTERVAL '$years YEAR'")
)
Expand Down
2 changes: 1 addition & 1 deletion app/Templates/default/reference.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<a href="{{ url_for('orderReferences', {'field': 'num_members'}) }}">Members</a>
</th>
<th>
{% if orderby == 'created_at' %}<i class="ui icon sort {{ sort == 'asc' ? 'up' : 'down' }}"></i>{% endif %}
{% if orderby == 'updated_at' %}<i class="ui icon sort {{ sort == 'asc' ? 'up' : 'down' }}"></i>{% endif %}
<a href="{{ url_for('orderReferences', {'field': 'updated_at'}) }}">Registration date</a>
</th>
<th>
Expand Down

0 comments on commit e2f3746

Please sign in to comment.