Merge pull request #2083 from SchrodingersGat/search-results

Display "full_name" rather than "name" in quick search bar
This commit is contained in:
Oliver 2021-09-30 09:42:50 +10:00 committed by GitHub
commit 819934af7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
};