mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Display a list of companies, with filtering
This commit is contained in:
parent
aa8a3602e8
commit
d2168b2cb9
5 changed files with 126 additions and 12 deletions
|
|
@ -195,13 +195,4 @@ class InvenTreeStockLocation extends InvenTreeModel {
|
|||
return loc;
|
||||
}
|
||||
|
||||
@override
|
||||
bool matchAgainstString(String filter) {
|
||||
|
||||
if (name.toLowerCase().contains(filter)) return true;
|
||||
|
||||
if (description.toLowerCase().contains(filter)) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue