Skip to content

Commit

Permalink
perf: index shift type and employee in checkins and assignment to avo…
Browse files Browse the repository at this point in the history
…id full table scans

(cherry picked from commit bc8e352)
  • Loading branch information
ruchamahabal authored and mergify[bot] committed May 16, 2023
1 parent 15bbda3 commit 7f5062e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions hrms/hr/doctype/employee_checkin/employee_checkin.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"fieldtype": "Link",
"label": "Employee",
"options": "Employee",
"reqd": 1
"reqd": 1,
"search_index": 1
},
{
"fetch_from": "employee.employee_name",
Expand All @@ -48,7 +49,8 @@
"fieldtype": "Link",
"label": "Shift",
"options": "Shift Type",
"read_only": 1
"read_only": 1,
"search_index": 1
},
{
"fieldname": "column_break_4",
Expand Down Expand Up @@ -107,10 +109,11 @@
}
],
"links": [],
"modified": "2020-07-08 11:02:32.660986",
"modified": "2023-05-12 14:52:22.660264",
"modified_by": "Administrator",
"module": "HR",
"name": "Employee Checkin",
"naming_rule": "Expression (old style)",
"owner": "Administrator",
"permissions": [
{
Expand Down Expand Up @@ -203,6 +206,7 @@
],
"sort_field": "modified",
"sort_order": "ASC",
"states": [],
"title_field": "employee_name",
"track_changes": 1
}

0 comments on commit 7f5062e

Please sign in to comment.