Skip to content
Commit 3b9f42d0 authored by Volker Krause's avatar Volker Krause
Browse files

Fix ancestor retrieval for new collection inside a non-visible parent.

This shows in e.g. KOrganizer when adding a Google or Kolab resource which
have an empty top-level collection (which has no content mimetype matching
the filter) and the actual calendar folders somewhere below that. When
those show up, we need to add the missing links in the ancestor chain as
well. The logic was mostly there, but broken for the (common) case of ETM
showing the full tree (ETM root collection being Collection::root) rather
than just a subtree.

Reviewed by: Christian Mollekopf, Alex Fiestas, Stephen Kelly
(cherry picked from commit 1280ed4dda1e02b4b9ce5bf1bfdc5379ae59e847)
parent db8e21db
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment