From e326ae95efb20c8606c19a8ba64efcb7717a7ac6 Mon Sep 17 00:00:00 2001 From: Ben Cornwell-Mott Date: Tue, 26 Jul 2016 19:55:09 -0700 Subject: [PATCH] Fixed typo --- erpnext/projects/doctype/timesheet/timesheet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/projects/doctype/timesheet/timesheet.py b/erpnext/projects/doctype/timesheet/timesheet.py index b823c8ea14..a1b757c4bc 100644 --- a/erpnext/projects/doctype/timesheet/timesheet.py +++ b/erpnext/projects/doctype/timesheet/timesheet.py @@ -295,5 +295,5 @@ def get_activity_cost(employee=None, activity_type=None): def get_employee_list(doctype, txt, searchfield, start, page_len, filters): return frappe.db.sql("""select distinct employee, employee_name from `tabSalary Structure` where salary_slip_based_on_timesheet=1 - and employee like %(txt)s or employee_name like %(txt)s) limit %(start)s, %(page_len)s""", + and employee like %(txt)s or employee_name like %(txt)s limit %(start)s, %(page_len)s""", {'txt': "%%%s%%"% txt, 'start': start, 'page_len': page_len})