fix: Add default sort value to create_collection

Collections without sort field cause frontend error:
"Cannot read properties of null (reading 'field')"

Now sets {"field": "index", "direction": "asc"} as default.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-31 18:36:58 +00:00
parent 1c8f6cbab9
commit 1cdeafebb6
9 changed files with 21 additions and 12 deletions

View File

@@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
MCP server for direct PostgreSQL access to Outline Wiki database. Follows patterns established by `mcp-desk-crm-sql-v3`.
**Version:** 1.3.7
**Version:** 1.3.8
**Total Tools:** 164 tools across 33 modules
**Production:** hub.descomplicar.pt (via SSH tunnel)