mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Merge pull request #2083 from SchrodingersGat/search-results
Display "full_name" rather than "name" in quick search bar
This commit is contained in:
commit
819934af7e
@ -116,7 +116,7 @@ function inventreeDocReady() {
|
||||
success: function(data) {
|
||||
var transformed = $.map(data.results, function(el) {
|
||||
return {
|
||||
label: el.name,
|
||||
label: el.full_name,
|
||||
id: el.pk,
|
||||
thumbnail: el.thumbnail
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user