Sun, 06 Oct 2024 15:35:46 +0200
fix critical loss of data - fixes #449
<%-- Page attribute: sortPriority: String currentSort: IssueSorter.Criteria --%> <div style="display: inline-block"> <label class="caption" style="display:block;" for="sort_${sortPriority}"><fmt:message key="issue.filter.sort.${sortPriority}"/></label> <select id="sort_${sortPriority}" name="sort_${sortPriority}"> <c:forEach var="criteria" items="${viewmodel.filter.sortCriteria}"> <option value="${criteria}" <c:if test="${currentSort eq criteria}">selected</c:if> > <fmt:message key="${criteria.field.resourceKey}"/> <c:if test="${criteria.asc}">↑</c:if> <c:if test="${not criteria.asc}">↓</c:if> </option> </c:forEach> </select> </div>