[Akonadi] Persistent + Non persistent search
Open, Needs TriagePublic

Description

Get rid of PERSISTANTSEARCH - we can use CreateCollectionCommand with the search fields populated from the PersistentSearchAttribute - we do that with Modify anyway, so why have a special job just for creating, if all it does it to create a collection with some more flags and then call into SearchManager.

Secondly, improve the KMail SearchWindow to make creating the "Last Search" collection optional (off by default?), so that by default user only gets search results (via SearchJob), and can decide to turn it into a persistent search by checking a checkbox, which would fire the CollectionCreateJob with the same search query params as the SearchJob had.

dvratil created this task.Apr 8 2017, 10:17 AM