mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
PHRAS-2915 #comment Fix sort basket orfer on lightbox desktop # time 1h
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for basket in baskets_collection %}
|
{% for basket in baskets_collection | sort | reverse%}
|
||||||
{% if basket.getValidation() %}
|
{% if basket.getValidation() %}
|
||||||
{% set basket_length = basket.getElements().count() %}
|
{% set basket_length = basket.getElements().count() %}
|
||||||
<tr>
|
<tr>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<i>{{ 'Voici vos paniers' | trans }}</i>
|
<i>{{ 'Voici vos paniers' | trans }}</i>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% for basket in baskets_collection %}
|
{% for basket in baskets_collection | sort | reverse%}
|
||||||
{% if basket.getValidation is null %}
|
{% if basket.getValidation is null %}
|
||||||
{% set basket_length = basket.getElements().count() %}
|
{% set basket_length = basket.getElements().count() %}
|
||||||
<tr>
|
<tr>
|
||||||
|
Reference in New Issue
Block a user