mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 04:55:44 +00:00
Search improvements (#3103)
* Allow part list API to be searched by SKU * Enable manufacturer parts and supplier parts search preview * Increment API version * Remove whitespace * Remove more whitespace
This commit is contained in:
@ -1425,6 +1425,20 @@ class InvenTreeUserSetting(BaseInvenTreeSetting):
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'SEARCH_PREVIEW_SHOW_SUPPLIER_PARTS': {
|
||||
'name': _('Seach Supplier Parts'),
|
||||
'description': _('Display supplier parts in search preview window'),
|
||||
'default': True,
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'SEARCH_PREVIEW_SHOW_MANUFACTURER_PARTS': {
|
||||
'name': _('Search Manufacturer Parts'),
|
||||
'description': _('Display manufacturer parts in search preview window'),
|
||||
'default': True,
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'SEARCH_HIDE_INACTIVE_PARTS': {
|
||||
'name': _("Hide Inactive Parts"),
|
||||
'description': _('Excluded inactive parts from search preview window'),
|
||||
|
Reference in New Issue
Block a user