mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-03 12:10:59 +00:00
Convert SEARCH_PREVIEW_RESULTS to a "user" setting
This commit is contained in:
@ -91,7 +91,7 @@ function inventreeDocReady() {
|
||||
url: '/api/part/',
|
||||
data: {
|
||||
search: request.term,
|
||||
limit: {% settings_value 'SEARCH_PREVIEW_RESULTS' %},
|
||||
limit: {% settings_value 'SEARCH_PREVIEW_RESULTS' user=request.user %},
|
||||
offset: 0
|
||||
},
|
||||
success: function (data) {
|
||||
|
Reference in New Issue
Block a user