Compare commits
2 Commits
80447813c0
...
ca319f0b7c
| Author | SHA1 | Date | |
|---|---|---|---|
| ca319f0b7c | |||
| 3e9bb0e065 |
@ -1 +1 @@
|
|||||||
v20260109-06-user-management-edit-roles
|
v20260109-07-feedback-open-default-resolved-sort
|
||||||
|
|||||||
@ -10,9 +10,8 @@ def feedback_page():
|
|||||||
if item_type not in ("", "bug", "feature"):
|
if item_type not in ("", "bug", "feature"):
|
||||||
item_type = ""
|
item_type = ""
|
||||||
|
|
||||||
# Default to showing both open and resolved items. Resolved items should remain
|
# Default to showing only open items. Users can still switch to Resolved or All via the filter.
|
||||||
# visible for all users until an admin deletes them.
|
status = (request.args.get("status") or "open").strip().lower()
|
||||||
status = (request.args.get("status") or "all").strip().lower()
|
|
||||||
if status not in ("open", "resolved", "all"):
|
if status not in ("open", "resolved", "all"):
|
||||||
status = "all"
|
status = "all"
|
||||||
|
|
||||||
@ -46,6 +45,9 @@ def feedback_page():
|
|||||||
else:
|
else:
|
||||||
order_sql = "vote_count DESC, fi.created_at DESC"
|
order_sql = "vote_count DESC, fi.created_at DESC"
|
||||||
|
|
||||||
|
# Always keep resolved items at the bottom when mixing statuses.
|
||||||
|
order_sql = "CASE WHEN fi.status = 'resolved' THEN 1 ELSE 0 END, " + order_sql
|
||||||
|
|
||||||
sql = text(
|
sql = text(
|
||||||
f"""
|
f"""
|
||||||
SELECT
|
SELECT
|
||||||
|
|||||||
@ -46,6 +46,13 @@
|
|||||||
- Updated validation to ensure role changes are applied immediately and consistently.
|
- Updated validation to ensure role changes are applied immediately and consistently.
|
||||||
- Ensured role updates are reflected correctly in permissions and access control.
|
- Ensured role updates are reflected correctly in permissions and access control.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## v20260109-07-feedback-open-default-resolved-sort
|
||||||
|
|
||||||
|
- Updated feedback listing to show only Open items by default.
|
||||||
|
- Adjusted sorting logic so Resolved items are always placed at the bottom when viewing all items.
|
||||||
|
- Preserved existing filtering, searching, and user-controlled sorting behavior.
|
||||||
================================================================================================================================================
|
================================================================================================================================================
|
||||||
## v0.1.19
|
## v0.1.19
|
||||||
This release delivers a broad set of improvements focused on reliability, transparency, and operational control across mail processing, administrative auditing, and Run Checks workflows. The changes aim to make message handling more robust, provide better insight for administrators, and give operators clearer and more flexible control when reviewing backup runs.
|
This release delivers a broad set of improvements focused on reliability, transparency, and operational control across mail processing, administrative auditing, and Run Checks workflows. The changes aim to make message handling more robust, provide better insight for administrators, and give operators clearer and more flexible control when reviewing backup runs.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user