seitime-frappe/frappe/utils
Ben Knowles ecfc0714bc
fix: global search index breaking on long titles
If you created a doc with a title longer than 140 characters, it's supposed to be truncated to 140.

However, the global search index would break for that doctype due to an error in the query.

The truncate was happening AFTER it was escaped, causing it to lose the closing quote mark which caused a SQL error and broke the index.
2020-01-02 14:33:57 -06:00
..
__init__.py chore: fixed imports after module restructure 2019-11-29 21:08:30 +05:30
background_jobs.py fix(major): upgrade redis-py and rq and try and fix scheduler tests 2019-11-07 12:14:09 +05:30
backups.py feat: merge gzip and mysqldump to speedup backup (#8524) 2019-10-21 15:24:26 +05:30
bench_helper.py [fix] bench_helper.py 2018-05-28 12:48:28 +05:30
boilerplate.py feat: allow extending doctype dashboards via hooks (develop) (#8336) 2019-09-08 02:29:43 +05:30
bot.py [patch] added patch for migration 2017-01-12 15:48:49 +05:30
change_log.py Merge branch 'staging' into develop 2019-01-29 18:24:11 +05:30
csvutils.py fix(various): after manual testing 2019-05-24 11:22:09 +05:30
data.py feat: Optionally remove seconds from datetime (#8531) 2019-12-25 14:54:28 +05:30
dateutils.py style: Linting fixes (#6809) 2019-01-23 16:39:55 +05:30
doctor.py fix(doctor): Show status of scheduler in bench doctor 2019-07-31 20:14:58 +05:30
error.py fix: Do not show locals to user (#7397) 2019-05-02 19:35:17 +05:30
file_lock.py File Based Locking at Document Level (#2374) 2016-11-25 16:14:00 +05:30
file_manager.py feat(Comments): add images in comments (#8283) 2019-09-02 23:28:05 +05:30
fixtures.py fix: fixtures order by 2019-07-04 08:23:50 -03:00
formatters.py fix: Show default currency as a fallback for currency fieldtype (#8944) 2019-12-14 17:34:04 +05:30
gitutils.py Fixes for Python 3 (#4940) 2018-01-31 10:51:13 +05:30
global_search.py fix: global search index breaking on long titles 2020-01-02 14:33:57 -06:00
goal.py fix: deadlock issue on load of company 2019-11-14 13:43:54 +05:30
html_utils.py fix: Whitelist schema.org attributes 2019-12-23 17:56:01 +05:30
identicon.py fix(unicode): Import unicode_literals in every file (#6805) 2019-01-25 11:56:27 +05:30
image.py Python 3 compatible print statements (#3199) 2017-05-01 12:34:29 +05:30
install.py feat: Optionally remove seconds from datetime (#8531) 2019-12-25 14:54:28 +05:30
jinja.py fix: (re)allow custom filters/methods to be used with jinja 2019-12-30 10:57:30 +05:30
logger.py Replaced all instances of 'unicode' with 'six.text_type' (#3825) 2017-08-02 16:57:39 +05:30
make_random.py fix(unicode): Import unicode_literals in every file (#6805) 2019-01-25 11:56:27 +05:30
minify.py fix(unicode): Import unicode_literals in every file (#6805) 2019-01-25 11:56:27 +05:30
momentjs.py python 3 fixes 2018-03-31 18:15:43 +05:30
nestedset.py fix(nestedset): check if meta has nsm_parent_field 2019-09-03 22:15:59 +05:30
oauth.py fix: add default role on sign up via SSO 2019-12-06 15:28:09 +05:30
password.py Postgres support for Frappe (#5919) 2018-09-21 10:20:48 +05:30
password_strength.py style: Linting fixes (#6809) 2019-01-23 16:39:55 +05:30
pdf.py fix(pdf): error when trying to print PDFs 2019-12-26 14:44:19 +05:30
print_format.py Merge pull request #8272 from deepeshgarg007/multi_print 2019-08-28 09:52:00 +00:00
redis_wrapper.py fix(test): two_factor 2019-11-07 12:14:09 +05:30
reset_doc.py fix(unicode): Import unicode_literals in every file (#6805) 2019-01-25 11:56:27 +05:30
response.py fix: not able to download XML file 2019-12-07 12:53:04 +05:30
safe_exec.py fix: Remove _ & _dict from frappe because add_module_properties ignores it 2020-01-01 09:34:37 +05:30
scheduler.py fix(scheduler): import update site config 2019-12-10 15:19:46 +05:30
testutils.py Revert "fix: Set default only if the dependent field is set (#7130)" (#7644) 2019-06-05 20:30:13 +05:30
user.py perf: Speed improvements for moduleview get (#9079) 2019-12-24 13:12:57 +05:30
verified_command.py [Workflow] Added a check to enable/disable workflow action emails and test fix (#5668) 2018-06-11 15:09:42 +05:30
xlsxutils.py fix(xls): Don't remove first row 2019-09-29 22:41:30 +05:30