mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-24 17:36:39 +00:00
Fix fetching of resource by path to work with addressbook resources also.
This commit is contained in:
parent
a9453bf589
commit
6d49488a7b
@ -505,7 +505,9 @@ EOSQL;
|
||||
if ( $this->_is_collection ) return; // We have all we're going to read
|
||||
|
||||
$sql = <<<EOQRY
|
||||
SELECT * FROM caldav_data LEFT JOIN calendar_item USING (collection_id,dav_id)
|
||||
SELECT calendar_item.*, addressbook_resource.*, caldav_data.*
|
||||
FROM caldav_data LEFT JOIN calendar_item USING (collection_id,dav_id)
|
||||
LEFT JOIN addressbook_resource USING (dav_id)
|
||||
WHERE caldav_data.dav_name = :dav_name
|
||||
EOQRY;
|
||||
$params = array( ':dav_name' => $this->bound_from() );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user