~netlandish/links-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH links] Add missing order value to queries

Details
Message ID
<20250430202638.21143-1-peter@netlandish.com>
Sender timestamp
1746023180
DKIM signature
missing
Download raw message
Patch: +1 -0
---
Missed this in the previous patch sent. Oops.

 core/routes.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/routes.go b/core/routes.go
index 76ad4f8..18fde44 100644
--- a/core/routes.go
+++ b/core/routes.go
@@ -2279,6 +2279,7 @@ func (s *Service) OrgLinksList(c echo.Context) error {
	orderDir := c.QueryParam("order")
	if orderDir != "" && (orderDir == "DESC" || orderDir == "ASC") {
		op.Var("order", orderDir)
		queries.Set("order", orderDir)
	} else {
		orderDir = "DESC" // default
	}
-- 
2.47.2
Details
Message ID
<D9K9D1JK3AD9.2LV43AVO6R4YD@netlandish.com>
In-Reply-To
<20250430202638.21143-1-peter@netlandish.com> (view parent)
Sender timestamp
1746023587
DKIM signature
missing
Download raw message
Applied.

To git@git.code.netlandish.com:~netlandish/links
   4b576a8..8eb0e19  master -> master
Reply to thread Export thread (mbox)