From acec09ad0de38a7c0352c0db8808779626978079 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 25 Jan 2026 17:48:44 +1100 Subject: [PATCH] Disable elastic indexes for line_items --- app/Models/Invoice.php | 2 +- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Models/Invoice.php b/app/Models/Invoice.php index ea84fe7cf2..93aff72600 100644 --- a/app/Models/Invoice.php +++ b/app/Models/Invoice.php @@ -279,7 +279,7 @@ class Invoice extends BaseModel 'custom_value4' => (string)$this->custom_value4, 'company_key' => $this->company->company_key, '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 ]; } diff --git a/composer.json b/composer.json index 6c8eae9eda..b0e65f64ab 100644 --- a/composer.json +++ b/composer.json @@ -225,8 +225,8 @@ "url": "https://github.com/turbo124/snappdf" }, { - "type": "vcs", - "url": "https://github.com/invoiceninja/admin-api" + "type": "path", + "url": "../admin-api" } ], "minimum-stability": "dev",