fix: compare lowercase keyword in global search
This commit is contained in:
parent
9430e3af86
commit
221dd0e6df
1 changed files with 1 additions and 1 deletions
|
|
@ -377,7 +377,7 @@ frappe.search.utils = {
|
|||
var field_text = "";
|
||||
for (var i = 0; i < parts.length; i++) {
|
||||
var part = parts[i];
|
||||
if (part.toLowerCase().indexOf(keywords) !== -1) {
|
||||
if (part.toLowerCase().indexOf(keywords.toLowerCase()) !== -1) {
|
||||
// If the field contains the keyword
|
||||
let colon_index, field_value;
|
||||
if (part.indexOf(" &&& ") !== -1) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue