Merge pull request #24019 from surajshetty3416/fix-global-search
fix: Do not change global search label to lower case
This commit is contained in:
commit
2e007b1ec8
1 changed files with 1 additions and 1 deletions
|
|
@ -613,7 +613,7 @@ frappe.search.utils = {
|
|||
const target = item.label.toLowerCase();
|
||||
const txt = keywords.toLowerCase();
|
||||
if (txt === target || target.indexOf(txt) === 0) {
|
||||
const search_result = this.fuzzy_search(txt, target, true);
|
||||
const search_result = this.fuzzy_search(txt, item.label, true);
|
||||
results.push({
|
||||
type: "Executable",
|
||||
value: search_result.marked_string,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue