From b1730914c32ae38a8f8c7d04520d0c79d1e77959 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 29 Sep 2021 22:12:20 +1000 Subject: [PATCH] Display "full_name" rather than "name" in quick search bar --- InvenTree/templates/js/dynamic/inventree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/templates/js/dynamic/inventree.js b/InvenTree/templates/js/dynamic/inventree.js index 7d608c1886..5cd7bfcb80 100644 --- a/InvenTree/templates/js/dynamic/inventree.js +++ b/InvenTree/templates/js/dynamic/inventree.js @@ -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 };