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

API_Form: Allow customizable icon

- Also fixes for API search
This commit is contained in:
Oliver
2021-10-02 22:31:28 +10:00
parent 86584b366f
commit 2f8d02b0be
5 changed files with 53 additions and 28 deletions

View File

@ -327,13 +327,7 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
},
onFind: (String filter) async {
Map<String, String> _filters = {
"search": filter,
"offset": "0",
"limit": "25"
};
final List<InvenTreeModel> results = await InvenTreeStockLocation().list(filters: _filters);
final results = await InvenTreeStockLocation().search(filter);
List<dynamic> items = [];