Commit graph

9 commits

Author SHA1 Message Date
Aleksander Machniak
a67881cd8c Fix caching of contact keys (#4939) 2015-03-30 09:23:59 -04:00
Aleksander Machniak
c0129f7768 Use 'organization' field for sorting if display name is not set (#3172) 2015-02-24 12:51:00 -05:00
Thomas Bruederli
351f7d6153 Avoid null values for empty fields 2014-02-10 16:01:49 +01:00
Thomas Bruederli
bc1164e943 Remove non-unicode characters from sort cols 2014-02-10 14:10:36 +01:00
Thomas Bruederli
af6d366a1f Optimize access to kolab contacts using a sorted and limited query (#2828)
- Add columns for sorting in kolab_cache_contact
- Extend bin/modcache.sh script to update existing cache records
- Add setters for ORDER BY and LIMIT clauses
- Adapt the kolab_addressbook plugin to fetch contacts page-wise

ATTENTION: This changeset contains database schema changes!
Run `bin/updatedb.sh --dir plugins/libkolab/SQL --package libkolab`

Afterwards, the cached data needs to be updated. To do so, either run
  `plugins/libkolab/bin/modcache.sh update --type=contact`
or execute the following query
  DELETE FROM `kolab_folders` WHERE `type`='contact';
2014-02-10 11:46:50 +01:00
Thomas Bruederli
20d6aa265c Fix copy&paste typos 2013-10-07 12:14:44 +02:00
Thomas Bruederli
20a731c540 Minor code improvements 2013-10-07 12:12:23 +02:00
Thomas Bruederli
af5115d0c3 Specify type field 2013-10-04 19:38:44 +02:00
Thomas Bruederli
87335f387f Split kolab_cache table into folder-type specific tables and specialized kolab_storage_cache_* classes; the object type is now implicit 2013-10-04 17:14:34 +02:00