Perform caching of query results in _vcard_get_map function
geodaniel - October 4, 2007 - 12:37
| Project: | vCard |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | sanduhrs |
| Status: | closed |
Jump to:
Description
If you're displaying more than one user's vcard on a page then the _vcard_get_map function gets called frequently (I'm displaying 15 users on a page and the _vcard_get_map function is being called 135 times, each time doing a 'SELECT fid, name FROM profile_fields'.

#1
Fixed in HEAD and 6-dev.
Thanks.
#2
Backported to 5.x
#3
Automatically closed -- issue fixed for two weeks with no activity.