mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-03 20:20:58 +00:00
Add user setting for configuring table string length (#3715)
This commit is contained in:
@ -1642,6 +1642,16 @@ class InvenTreeUserSetting(BaseInvenTreeSetting):
|
||||
'default': True,
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'TABLE_STRING_MAX_LENGTH': {
|
||||
'name': _('Table String Length'),
|
||||
'description': _('Maximimum length limit for strings displayed in table views'),
|
||||
'validator': [
|
||||
int,
|
||||
MinValueValidator(0),
|
||||
],
|
||||
'default': 100,
|
||||
}
|
||||
}
|
||||
|
||||
typ = 'user'
|
||||
|
Reference in New Issue
Block a user