Refactor report folder

This commit is contained in:
2024-03-17 00:06:00 +01:00
parent 37eba57765
commit 106a36109e
6 changed files with 13 additions and 6 deletions

View File

@@ -105,6 +105,13 @@ namespace platform {
void ManageScreen::list_result(const std::string& status_message, const std::string& status_color)
{
//auto report = DatasetsConsole();
//report.report();
//paginator[static_cast<int>(output_type)].setTotal(report.getNumLines());
// We need to subtract 8 from the page size to make room for the extra header in report
auto page_size = paginator[static_cast<int>(OutputType::EXPERIMENTS)].getPageSize();
paginator[static_cast<int>(output_type)].setPage(page_size - 8);
//
// header
//