Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Rigth now, a typical casetracker view with 20 rows is calling to check_plain 60 times.
This is because check_plain is placed into render() functions of casetracker field handlers.
However, this can be improved in a simple way. Since case realms are limited data, we can get they in the constructor of each feild handler sanitize this string here.
This reduce from 60 to 10 aprox. the calls to check_plain() in a casetracker view.
Comment | File | Size | Author |
---|---|---|---|
#1 | casetracker-759548.patch | 2.87 KB | dagmar |
casetracker-views-field-performance.patch | 3.11 KB | dagmar |
Comments
Comment #1
dagmarRerolled because #770386: Bad join for case tracker tables in views integration was committed.