2
0
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:
Oliver
2021-07-27 14:44:51 +10:00
parent 3e0655a9d8
commit 33a0b73a05
6 changed files with 38 additions and 20 deletions

View File

@ -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) {