Skip to content

Commit

Permalink
feat(admin/media-lib): add sorting on file columns (#1002)
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidmattei authored Sep 12, 2024
1 parent 567caa6 commit dd7d629
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions skeleton/template_ems/dashboard/media_library.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% block body %}
{{ component('media_library', {
'id': 'examaple-media-lib',
'template': _self,
'template': _self
}) }}
{% endblock body %}

Expand All @@ -10,10 +10,10 @@
{% block css %}{% endblock css %}

{%- block media_lib_file_header -%}
<div>Name</div>
<div>Type</div>
<div data-sort-id="name">Name</div>
<div data-sort-id="type">Type</div>
<div>Revision</div>
<div class="text-right">Size</div>
<div data-sort-id="size" class="text-right">Size</div>
{%- endblock media_lib_file_header -%}

{%- block media_lib_file -%}
Expand Down

0 comments on commit dd7d629

Please sign in to comment.