mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
API_Form: Allow customizable icon
- Also fixes for API search
This commit is contained in:
parent
86584b366f
commit
2f8d02b0be
5 changed files with 53 additions and 28 deletions
|
|
@ -71,7 +71,7 @@ class PartSearchDelegate extends SearchDelegate<InvenTreePart?> {
|
|||
|
||||
_filters["cascade"] = "true";
|
||||
|
||||
final results = await InvenTreePart().search(context, query, filters: _filters);
|
||||
final results = await InvenTreePart().search(query, filters: _filters);
|
||||
|
||||
partResults.clear();
|
||||
|
||||
|
|
@ -260,8 +260,7 @@ class StockSearchDelegate extends SearchDelegate<InvenTreeStockItem?> {
|
|||
// Enable cascading part search by default
|
||||
_filters["cascade"] = "true";
|
||||
|
||||
final results = await InvenTreeStockItem().search(
|
||||
context, query, filters: _filters);
|
||||
final results = await InvenTreeStockItem().search(query, filters: _filters);
|
||||
|
||||
itemResults.clear();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue