mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Template rendering fix for inventree.js
This commit is contained in:
parent
a93d96de58
commit
c08cb43c39
@ -91,7 +91,11 @@ function inventreeDocReady() {
|
||||
url: '/api/part/',
|
||||
data: {
|
||||
search: request.term,
|
||||
{% if request.user %}
|
||||
limit: {% settings_value 'SEARCH_PREVIEW_RESULTS' user=request.user %},
|
||||
{% else %}
|
||||
limit: 25
|
||||
{% endif %}
|
||||
offset: 0
|
||||
},
|
||||
success: function (data) {
|
||||
|
Loading…
Reference in New Issue
Block a user