Skip to content

Commit

Permalink
Sort avps
Browse files Browse the repository at this point in the history
  • Loading branch information
marksteward committed May 18, 2024
1 parent cf5873b commit cfbce13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/admin/arrivals/view-edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h3>Products</h3>
<th>Display Name</th>
<th>Delete</th>
</tr>
{% for pvp in view.arrivals_view_products %}
{% for pvp in view.arrivals_view_products | sort(attribute="product_id") %}
<tr>
<td>{{ pvp.product.parent.name }}</td>
<td><a tabindex="-1" href="{{ url_for('admin.product_details', product_id=pvp.product.id) }}">{{ pvp.product.name }}</a></td>
Expand Down

0 comments on commit cfbce13

Please sign in to comment.