Disable elastic indexes for line_items

This commit is contained in:
David Bomba
2026-01-25 17:48:44 +11:00
parent 09e1b7c7a1
commit acec09ad0d
2 changed files with 3 additions and 3 deletions

View File

@@ -279,7 +279,7 @@ class Invoice extends BaseModel
'custom_value4' => (string)$this->custom_value4, 'custom_value4' => (string)$this->custom_value4,
'company_key' => $this->company->company_key, 'company_key' => $this->company->company_key,
'po_number' => (string) $this->po_number, 'po_number' => (string) $this->po_number,
'line_items' => (array) $this->line_items, //'line_items' => (array) $this->line_items, //@todo - reinstate this when elastic indexes have been rebuilt
]; ];
} }

View File

@@ -225,8 +225,8 @@
"url": "https://github.com/turbo124/snappdf" "url": "https://github.com/turbo124/snappdf"
}, },
{ {
"type": "vcs", "type": "path",
"url": "https://github.com/invoiceninja/admin-api" "url": "../admin-api"
} }
], ],
"minimum-stability": "dev", "minimum-stability": "dev",