2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-13 10:45:29 +00:00

Consolidated search (#289)

* Update search widget to support consolidated search API endpoint

* Finer control over global search

* Update release notes

* remove unused variable
This commit is contained in:
Oliver
2023-03-24 21:09:38 +11:00
committed by GitHub
parent 9543490c21
commit d7f2c3939b
3 changed files with 129 additions and 30 deletions

View File

@ -279,6 +279,9 @@ class InvenTreeAPI {
// Company attachments require API v95 or newer
bool get supportCompanyAttachments => isConnected() && apiVersion >= 95;
// Consolidated search request API v102 or newer
bool get supportsConsolidatedSearch => isConnected() && apiVersion >= 102;
// Are plugins enabled on the server?
bool _pluginsEnabled = false;