code: public function indexViewObjects(Response $response, bool $resetFilter = false)
      {
          if ($resetFilter) {
              return $this->resetFilter($response, $this->indexRoute);
          }
  
          try {
              $roles = $this->mapper->getObjects($this->getFilterColumnsInfo());
          } catch (QueryFailureException $e) {
              $roles = [];
              // warning is inserted when query fails
              SlimPostgres::setAdminNotice('Query Failed', 'failure');
          }
          
          return $this->indexView($response, $roles);
      }
docs: get role objects and send to parent indexView