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

@@ -1,7 +1,7 @@
# MCP Outline PostgreSQL - Continuacao de Testes
**Ultima Sessao:** 2026-01-31 (actualizado)
**Versao Actual:** 1.3.7
**Versao Actual:** 1.3.8
**Progresso:** ~95/164 tools testadas (58%) - **CÓDIGO VALIDADO**
---