https://issues.kolab.org/show_bug.cgi?id=5038
- Disable calendar in korganizer using the red minus
- Search for the disappeared calendar
- Locate the calendar in the searchresults and reenable it.
https://issues.kolab.org/show_bug.cgi?id=5038
rKP kdepim | |||
rKP3fe794063307 Search for correct event mimetype |
Also valid if you search for the removed caledar by name directly:
show saved xantian search strings for collection 37:
delve -1 $KDEHOME/.local/share/baloo/collections -r 37 A/imap.example.com/Calendar/Personal Calendar C30 IDCalendar/Personal Calendar Mapplication/x-vnd.akonadi.calendar.event Minode/directory NS Ncalendar Npersonal Pcalendar Pcom Pexample Pimap Ppersonal calendar personal
CollectionSearchJob for "*":
-> so we either have to set the Mimetype "text/calendar" or search for "application/x-vnd.akonadi.calendar.event"
zanshin uses mimetype KCalCore::Todo::todoMimeType and NoteUtils::noteMimeType so we should also switch to KCalCore::Event:eventMimeType for korganizer.
search xapian db:
search for all collection with correct mimetype:
quest -d $KDEHOME/.local/share/baloo/collections -b "M:M" 'M:"application/x-vnd.akonadi.calendar.event"'
and for collectino with empty namespace:
quest -d $KDEHOME/.local/share/baloo/collections -b "NS:NS" 'NS:""'