Make exports possible again.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
The vector of entries was always empty after the refactoring.
This commit is contained in:
parent
c218c23f97
commit
1fe59de7e4
|
@ -108,8 +108,9 @@ int App::main(const std::vector<std::string> &args)
|
||||||
|
|
||||||
if (_format != export_format::undefined)
|
if (_format != export_format::undefined)
|
||||||
{
|
{
|
||||||
vector<Database::entry> entries;
|
vector<Database::entry> entries = db.retrieve(_timespan[0],
|
||||||
Search search(db.retrieve(_timespan[0], _timespan[1]));
|
_timespan[1]);
|
||||||
|
Search search(entries);
|
||||||
|
|
||||||
if (!_search_tags.empty())
|
if (!_search_tags.empty())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue