Changes to support refactor in frappe pg-poc branch (#15287)
* Remove quotes from sql to make it compatible with postgres as well * Fix queries - Replace mysql specifc queries with standard ones * Make repo URL chages to test pg-poc * Add root passowrd to test site config * Fix quotes issue * Remove debug flag from a pricing rule query * Remove python 3.6 version from travis.yml * Fix improper query issue * Fix incorrect query * Fix a query - This fix need to be changed when we will start supporting postgres since date_format is not supported by postgres * Get price list map as dict * Convert price_list_currency_map to dict
This commit is contained in:
committed by
Rushabh Mehta
parent
f9b3511880
commit
bfc195dd8b
@@ -23,6 +23,6 @@ def query_task(doctype, txt, searchfield, start, page_len, filters):
|
||||
`%s`,
|
||||
subject
|
||||
limit %s, %s""" %
|
||||
(frappe.db.escape(searchfield), "%s", "%s", match_conditions, "%s",
|
||||
frappe.db.escape(searchfield), "%s", frappe.db.escape(searchfield), "%s", "%s"),
|
||||
(searchfield, "%s", "%s", match_conditions, "%s",
|
||||
searchfield, "%s", searchfield, "%s", "%s"),
|
||||
(search_string, search_string, order_by_string, order_by_string, start, page_len))
|
||||
|
||||
Reference in New Issue
Block a user