(match)
| 1999 | """ |
| 2000 | |
| 2001 | def field_sub(match): |
| 2002 | # Extract just the field name, and look up the field objects |
| 2003 | field_name = match.group(1).split(".") |
| 2004 | fields = self._document._lookup_field(field_name) |
| 2005 | # Substitute the correct name for the field into the javascript |
| 2006 | return '["%s"]' % fields[-1].db_field |
| 2007 | |
| 2008 | def field_path_sub(match): |
| 2009 | # Extract just the field name, and look up the field objects |
nothing calls this directly
no test coverage detected