Skip to content
This repository was archived by the owner on Nov 22, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions backend/internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ func (s *Server) handleInvoices(w http.ResponseWriter, r *http.Request) {
args = append(args, employeeID)
}

// Sort by date ascending by default
query += " ORDER BY i.Date ASC, i.id ASC"

ctx, cancel := context.WithTimeout(r.Context(), 10*time.Second)
defer cancel()

Expand Down
3 changes: 1 addition & 2 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>frontend</title>
<title>Aptora Extensions</title>
</head>
<body>
<div id="root"></div>
Expand Down
Loading
Loading