Skip to content

Commit

Permalink
Merge pull request #273 from opensafely-core/fix-table-sort
Browse files Browse the repository at this point in the history
Fix csv column sorting by adding a data-order attribute
  • Loading branch information
bloodearnest authored Apr 23, 2024
2 parents 84752a5 + 038240e commit 7966a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airlock/templates/file_browser/csv.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
{% for row in rows %}
<tr>
{% for cell in row %}
<td>{{ cell }}</td>
<td data-order="{{ cell }}">{{ cell }}</td>
{% endfor %}
</tr>
{% endfor %}
Expand Down

0 comments on commit 7966a30

Please sign in to comment.