Make exports possible again.
continuous-integration/drone/push Build is passing Details

The vector of entries was always empty after the refactoring.
This commit is contained in:
tastytea 2019-08-07 10:33:27 +02:00
parent c218c23f97
commit 1fe59de7e4
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 2 deletions

View File

@ -108,8 +108,9 @@ int App::main(const std::vector<std::string> &args)
if (_format != export_format::undefined)
{
vector<Database::entry> entries;
Search search(db.retrieve(_timespan[0], _timespan[1]));
vector<Database::entry> entries = db.retrieve(_timespan[0],
_timespan[1]);
Search search(entries);
if (!_search_tags.empty())
{