Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed pagination in addressbook and save new contacts #77

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

a-sassermann
Copy link

Hi, this fixes the following issues:

  • not displaying subsequent pages in addressbook contacts due to a bug in rcube_db::num_rows
  • error message when saving new contacts due to a wrong call of carddav_addressbook_sync after creation

Tested with roundcube 1.0.1, mysql backend and owncloud 6.0.3.

There is a bug in rcube_db::num_rows when used on a limitquery the query
has a record offset.

fix: removed all references to deprecated rcube_db::num_rows
replaced with db count where count is required (also less expensive).
removed counting where not required
Fix: calling carddav_addressbook_sync  with null instead of false for
card_id prevents the sync to try an update on nonexisting card_id false.
functions found:
- get_table_name
- write_log
Finn10111 and others added 2 commits June 27, 2014 07:11
fmbiete added a commit to fmbiete/Roundcube-CardDAV that referenced this pull request Aug 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants