christian-putzke / Roundcube-CardDAV

Roundcube CardDAV Plugin
http://www.graviox.de
GNU Affero General Public License v3.0
119 stars 28 forks source link

Concats view in roundcube 1.0.1 broken #83

Open hc42 opened 10 years ago

hc42 commented 10 years ago

Hi, in the roundcube address book view there is only the first contact page displayed correctly shown. All others are empty. I figured out the reason. A workaround could be commenting out line 165 in file carddav_addressbook.php that checks if entries present in db result. The problem is that the num_rows function gives incorrect values for your queries for some reason. With $limit set it always returns 0. Maybe the while loop included in the condition is enough since it shouldn't be executed if no entries present. See the sql_debug log for the the executed queries and check return values. Can you confirm the problem?

carddav plugin version 0.5.1 with commit log :27571d8b849a5ec726b61096b823ed8a1b59d42c roundcube: 1.0.1

hc42 commented 10 years ago

Just saw pull request #77 solves this the same way.